- Timestamp:
- 11/09/05 21:26:34 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r4711 r4722 97 97 98 98 scene = dataSet->getDestinationRootNode(); 99 100 // now we must get rid of all the old OpenGL objects before we start using the scene graph again 101 // otherwise it'll end up in an inconsistent state. 102 scene->releaseGLObjects(dataSet->getState()); 103 osg::Texture::flushAllDeletedTextureObjects(0); 104 osg::Drawable::flushAllDeletedDisplayLists(0); 99 105 } 100 106
