Hi,

While trying to understand the inner workings of the buffer object management I 
found this:

void GLBufferObjectSet::discardAllDeletedGLBufferObjects()
{
.
.
    _parent->getNumberActiveGLBufferObjects() += numDiscarded;

Line no 645 in \src\osg\BufferObject.cpp in v3.1.2

Why would the 'active number' get incremented when objects are deleted? We 
wouldn't need to modify the active number here at all. The management of 
textures doesn't seem to suffer from this bug.


Thank you!

Cheers,
Anish

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





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

Reply via email to