From d6c05925ab985e7c5a71adc3bda047675668c02f Mon Sep 17 00:00:00 2001 From: David G Yu Date: Sun, 10 Nov 2013 00:36:43 +0000 Subject: [PATCH] Fixed compile warnings. --- examples/ptexViewer/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ptexViewer/viewer.cpp b/examples/ptexViewer/viewer.cpp index 82546f07..609dc97c 100644 --- a/examples/ptexViewer/viewer.cpp +++ b/examples/ptexViewer/viewer.cpp @@ -2502,7 +2502,7 @@ int main(int argc, char ** argv) 250, 50, callbackCheckBox, HUD_CB_IBL, 'i'); } - g_hud.AddCheckBox("Cage Edges (H)", g_drawCageEdges, + g_hud.AddCheckBox("Cage Edges (H)", g_drawCageEdges != 0, 450, 10, callbackCheckBox, HUD_CB_CAGE_EDGES, 'h'); g_hud.AddCheckBox("Animate vertices (M)", g_moveScale != 0.0, 450, 30, callbackCheckBox, HUD_CB_ANIMATE_VERTICES, 'm');