Added Object::resizeGLObjectBuffers(uint) method to help improve the ability
to change the number of active graphics contexts on the fly during an applications life.
This commit is contained in:
@@ -196,6 +196,10 @@ Shader::Type Shader::getTypeId( const std::string& tname )
|
||||
return UNDEFINED;
|
||||
}
|
||||
|
||||
void Shader::resizeGLObjectBuffers(unsigned int maxSize)
|
||||
{
|
||||
_pcsList.resize(maxSize);
|
||||
}
|
||||
|
||||
void Shader::releaseGLObjects(osg::State* state) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user