Changeset 10896
- Timestamp:
- 12/15/09 15:44:12 (3 years ago)
- Location:
- OpenSceneGraph/trunk/src
- Files:
-
- 2 modified
-
osgFX/Outline.cpp (modified) (2 diffs)
-
osgGA/StateSetManipulator.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgFX/Outline.cpp
r10871 r10896 92 92 // stencil op 93 93 osg::Stencil* stencil = new osg::Stencil; 94 stencil->setFunction(osg::Stencil::ALWAYS, 1, ~0 );94 stencil->setFunction(osg::Stencil::ALWAYS, 1, ~0u); 95 95 stencil->setOperation(osg::Stencil::KEEP, 96 96 osg::Stencil::KEEP, … … 113 113 // stencil op 114 114 osg::Stencil* stencil = new osg::Stencil; 115 stencil->setFunction(osg::Stencil::NOTEQUAL, 1, ~0 );115 stencil->setFunction(osg::Stencil::NOTEQUAL, 1, ~0u); 116 116 stencil->setOperation(osg::Stencil::KEEP, 117 117 osg::Stencil::KEEP, -
OpenSceneGraph/trunk/src/osgGA/StateSetManipulator.cpp
r10699 r10896 104 104 105 105 #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) 106 _texture |= ( _stateset->getTextureMode(0,GL_TEXTURE_1D)&mode);106 _texture |= ((_stateset->getTextureMode(0,GL_TEXTURE_1D)&mode)!=0); 107 107 #endif 108 108 }
