Added usage of GLExtensions::debugObjectLabel() to GLBufferObject::compile()

This commit is contained in:
Robert Osfield
2016-11-15 14:52:59 +00:00
parent 1abd99f084
commit 55f4778731

View File

@@ -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="<<newTotalSize<<", _profile._size="<<_profile._size<<std::endl;