Hi Peter, On Wed, Jul 1, 2009 at 4:42 PM, Peter Hrenka<[email protected]> wrote: > I think the calls to releaseGLObjects() in DrawElementsU(Byte/Short/Int) > are inappropriate. > > Looking at the big picture I found that releaseGLObjects > is called when closing a GraphicsContext or in the > DataBasePager for expired children. I do not think that > an object which uses shared GL-Objects should call > releaseGLObjects() in its destructor and neither > Drawable nor Geometry currenty do so.
Yikes, go for breaking lots of application why don't you. relaseGLObjects() exists to make sure graphics objects are cleaned up correctly. The method hasn't just been added for a bit of merry-meant because I was bored one day. It does rather sound like you haven't grasped the big picture. releaseGLObjects() is *essential*. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
