I'm using OSG 2.8.3, the last stable release.

I'm using a Viewer with GraphicsWindowEmbedded.

On closing the window, the Viewer is destroyed, and the destructor tries to 
close the GraphicsContext.  Inside flushAllDeletedGLObjects, 
flushDeletedGlPrograms is called.  Inside that, there is a call to 
GL2Extensions::Get().  And in that, if s_extensions[contextID] is 0, it is 
trying to construct a new GL2Extensions object.  Finally, that's calling 
glGetString(GL_VERSION).

But by now, the graphics context is no longer valid.

Should I be able to set up a Viewer or CompositeViewer such that it can be 
destroyed when the graphics context is not current?  What about if it does not 
exist anymore?

thanks
andy

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

Reply via email to