One problem down :) I had code similar to this:
Code: viewer.removeView(view) detach(view); view = NULL; Closing the GraphicsContext before calling detach() fixed my issues. The GL object now get discarded at the right time. The context used to be closed when nulling the view, which was too late. Thanks for your help guys! Cheers, Philippe ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63733#63733 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org