[osg-users] Removing objects with shared GL state from scene graph

Chris Djali krizdjali at gmail.com
Thu Jul 25 16:31:12 PDT 2019


I have more information. The GraphicsContext is only referenced by the camera when the camera is destroyed. The camera detaches itself from the graphics context in its destructor, then the camera's ref_ptr to the graphics context is destroyed, triggering the destruction of the graphics context. The graphics context calls its own close in its destructor, but by then the camera has already detached itself, so it's not helpful.


Read this topic online here:

More information about the osg-users mailing list