From 7dbcee64e6b7902bb3ff9da7713b9006800b318b Mon Sep 17 00:00:00 2001 From: David G Yu Date: Fri, 21 Jun 2019 10:50:50 -0700 Subject: [PATCH] Fixed int to bool conversion warning --- examples/glFVarViewer/glFVarViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/glFVarViewer/glFVarViewer.cpp b/examples/glFVarViewer/glFVarViewer.cpp index 5605059a..8edd3db8 100644 --- a/examples/glFVarViewer/glFVarViewer.cpp +++ b/examples/glFVarViewer/glFVarViewer.cpp @@ -1169,7 +1169,7 @@ initHUD() { 10, 60, callbackControlEdges, 0, 'h'); g_hud.AddCheckBox("Control vertices (J)", g_controlMeshDisplay.GetVerticesDisplay(), 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'); int shading_pulldown = g_hud.AddPullDown("Display Style (W)",