diff --git a/src/osg/BufferObject.cpp b/src/osg/BufferObject.cpp index 9e793ea44..df36f123b 100644 --- a/src/osg/BufferObject.cpp +++ b/src/osg/BufferObject.cpp @@ -190,6 +190,8 @@ void GLBufferObject::compileBuffer() _extensions->glBindBuffer(_profile._target, _glObjectID); + _extensions->debugObjectLabel(GL_BUFFER, _glObjectID, _bufferObject->getName()); + if (newTotalSize > _profile._size) { OSG_INFO<<"newTotalSize="<