Index: /OpenSceneGraph/trunk/src/osgGA/StateSetManipulator.cpp
===================================================================
--- /OpenSceneGraph/trunk/src/osgGA/StateSetManipulator.cpp (revision 10899)
+++ /OpenSceneGraph/trunk/src/osgGA/StateSetManipulator.cpp (revision 10946)
@@ -104,5 +104,5 @@
                    
         #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
     }
