Added more comprehensive releaseGLObjects(State*=0) throughout Nodes,

Drawables,StateSet, and osgDB::Registry.

Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper
clean of OpenGL objects before exit, and modified osgviewer, osghangglider,
osgwindows examples to do the extra frame call to cleanup_frame() before exit.
This commit is contained in:
Robert Osfield
2005-05-07 20:47:09 +00:00
parent 08d5f9f85a
commit d1a1b1d95c
23 changed files with 167 additions and 21 deletions

View File

@@ -30,14 +30,14 @@ osgclip cow.osg
echo osgcubemap
osgcubemap cessna.osg
# echo osgdepthshadow
# osgdepthshadow
echo osgdepthshadow
osgdepthshadow
echo osgdistortion
osgdistortion cow.osg
#echo osgforest
#osgforest
echo osgforest
osgforest
echo osgfxbrowser
osgfxbrowser dumptruck.osg
@@ -64,7 +64,7 @@ echo osglight
osglight glider.osg
echo osglightpoint
#osglightpoint
osglightpoint
echo osglogo
osglogo
@@ -96,8 +96,8 @@ osgplanets
echo osgprerender
osgprerender dumptruck.osg
#echo osgprerendercubemap
#osgprerendercubemap
echo osgprerendercubemap
osgprerendercubemap
echo osgreflect
osgreflect cessna.osg