Hi Paul, On 15 November 2011 13:04, Paul Palumbo <paul1...@yahoo.com> wrote: > The probably is evident when the X server is restarted between these calls to > create the osgViewer::Viewer. I don't think it matters any if the restart is > inside the program or not as long as it happens when no osgViewer::Viewer is > active.
The only GLX code in osgViewer is in GraphicsWindowX11.cpp and PixelBufferX11.cpp. Each of GraphicsWindowX11 and PixelBufferX11 keep their own local handles to X11 objects and should be cleaning these up when they are closed/destructed, I don't recall any global handles that will need cleaning up. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org