From 7c3b0a16a4ad609efb59cff0eedcffaba6e2b3f2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 13 Jan 2010 10:46:40 +0000 Subject: [PATCH] From Sukender, warning fix. --- src/osgGA/StateSetManipulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgGA/StateSetManipulator.cpp b/src/osgGA/StateSetManipulator.cpp index 7c4907987..493db1381 100644 --- a/src/osgGA/StateSetManipulator.cpp +++ b/src/osgGA/StateSetManipulator.cpp @@ -103,7 +103,7 @@ bool StateSetManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter& aa) (_stateset->getTextureMode(0,GL_TEXTURE_CUBE_MAP)&mode)!=0; #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) - _texture |= (_stateset->getTextureMode(0,GL_TEXTURE_1D)&mode)!=0; + _texture |= ((_stateset->getTextureMode(0,GL_TEXTURE_1D)&mode)!=0); #endif }