Hi,

Using the gDEBugger I found some VBO leaks on application exit.
For example the leak could be easily seen if we add "useVertexBufferObjects 
TRUE" into cessna.osg and will try to render it via standard osgviewer.

OSG calls releaseGLObjects before exit for the loaded tree and for Geometry it 
calls releaseGLObjects for ArrayList and DrawElementsList.
For DrawElementsList everything is ok. But for Array there is no special 
releaseGLObjects implementation and the 
empty Object::releaseGLObjects is called. 
So should something like
        virtual void releaseGLObjects(State* state=0) const
        {
            if (_vbo.valid()) _vbo->releaseGLObjects(state);
        }
be added to Array header?

Thank you!

Cheers,
George

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34783#34783





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

Reply via email to