Thanks Colin, changes look good, now merged and submitted to svn/trunk.
On 26 January 2012 14:53, Colin McDonald <[email protected]> wrote: > Hi Robert, > > I have an application with multiple windows. They share GL objects > between the contexts, using the GraphicsContext::Traits sharedContext > and setting the same contextID. > > When one of these shared contexts is closed, GraphicsContext::close > deletes all GLObjects for that contextID, regardless of the fact that > they are shared. This means that all of the other contexts sharing the > objects have to recompile them. > > The attached tweak makes GraphicsContext::close a bit less brutal for > shared contexts. I have also changed a misleading diagnostic message. > > Regards > > Colin McDonald > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
