Added support for glObjectLabel debugging
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user