Changeset 370 for experimental/distortionNG/extViewer.cpp
- Timestamp:
- Jun 1, 2012, 6:11:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/extViewer.cpp
r362 r370 276 276 stateset->setTextureAttributeAndModes(_distortionSet->getTexUnitScene(), sceneTexture,osg::StateAttribute::ON); 277 277 stateset->setMode(GL_LIGHTING,osg::StateAttribute::OFF); 278 // Modify StateSet to protectit agai unst state changes by the stateset Manipulator278 // Modify StateSet to protectit against state changes by the stateset Manipulator 279 279 osg::PolygonMode* polyModeObj = new osg::PolygonMode; 280 280 stateset->setAttribute(polyModeObj, osg::StateAttribute::PROTECTED|osg::StateAttribute::ON);
Note: See TracChangeset
for help on using the changeset viewer.