Added missing getUniformBlocks implmentation

This commit is contained in:
Robert Osfield 2012-04-19 10:10:26 +00:00
parent c6a4fde917
commit 9045813aab

View File

@ -513,6 +513,11 @@ const Program::ActiveVarInfoMap& Program::getActiveAttribs(unsigned int contextI
return getPCP( contextID )->getActiveAttribs();
}
const Program::UniformBlockMap& Program::getUniformBlocks(unsigned contextID) const
{
return getPCP( contextID )->getUniformBlocks();
}
///////////////////////////////////////////////////////////////////////////
// osg::Program::PerContextProgram
// PCP is an OSG abstraction of the per-context glProgram