Fixed int to bool conversion warning

This commit is contained in:
David G Yu 2019-06-21 10:50:50 -07:00
parent 980c303a6e
commit 7dbcee64e6

View File

@ -1169,7 +1169,7 @@ initHUD() {
10, 60, callbackControlEdges, 0, 'h'); 10, 60, callbackControlEdges, 0, 'h');
g_hud.AddCheckBox("Control vertices (J)", g_controlMeshDisplay.GetVerticesDisplay(), g_hud.AddCheckBox("Control vertices (J)", g_controlMeshDisplay.GetVerticesDisplay(),
10, 80, callbackControlVertices, 0, 'j'); 10, 80, callbackControlVertices, 0, 'j');
g_hud.AddCheckBox("UV Backface Culling (B)", g_uvCullBackface, g_hud.AddCheckBox("UV Backface Culling (B)", g_uvCullBackface != 0,
10, 100, callbackUVCullBackface, 0, 'b'); 10, 100, callbackUVCullBackface, 0, 'b');
int shading_pulldown = g_hud.AddPullDown("Display Style (W)", int shading_pulldown = g_hud.AddPullDown("Display Style (W)",