Added support for glObjectLabel debugging

This commit is contained in:
Robert Osfield
2016-11-15 14:35:47 +00:00
parent 4ecf541cb6
commit 1abd99f084
6 changed files with 66 additions and 1 deletions

View File

@@ -824,6 +824,8 @@ void Program::PerContextProgram::linkProgram(osg::State& state)
OSG_INFO << "Program \""<< _program->getName() << "\" "<<
"link succeeded, infolog:\n" << infoLog << std::endl;
}
_extensions->debugObjectLabel(GL_PROGRAM, _glProgramHandle, _program->getName());
}
if (_extensions->isUniformBufferObjectSupported)