----- "Licheng Zhang" <[email protected]> a écrit :

> Hi,
> I encountered the same problem in 
> http://forum.openscenegraph.org/viewtopic.php?t=4527
> according to robertosfield's suggestion. 
> 
> In terms of manually forcing the discard of all the GL handles you can
> 
> do a scene->releaseGLObjects() and then a osg::discardAllGLObjects();
> 
> This is for svn/trunk & 2.9.6 but for prior versions you'll need to 
> call osg::discardAllDeletedGLObejcts() as the discardAllGLobjects() is
> 
> a recent addition. 
> 
> why can't I use osg::discardAllDeletedGLObejcts()?

Because it looks like a typo and the real function should be

use osg::discardAllDeletedGLObjects()

-Fred
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to