I found a workaround :

1/ In MyGeometry::drawImplementation :
=> check if objects are compiled for this context, if not, call 
"compileGLObjects"

2/ In MyGeometry::~MyGeometry :
=> call releaseGLObjects(NULL)

But I'm surprised that I have to do this "by hands".. did I miss something ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45464#45464





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

Reply via email to