Form Richard Schmidt, "The following features were added:
* the glsl plugin now supports processing #includes. The file extension sets the shader type. * the registry releases gl objects of the shared state manager "
This commit is contained in:
@@ -1563,6 +1563,11 @@ void Registry::releaseGLObjects(osg::State* state)
|
||||
osg::Object* object = itr->second.first.get();
|
||||
object->releaseGLObjects(state);
|
||||
}
|
||||
|
||||
if (_sharedStateManager.valid())
|
||||
{
|
||||
_sharedStateManager->releaseGLObjects( state );
|
||||
}
|
||||
}
|
||||
|
||||
SharedStateManager* Registry::getOrCreateSharedStateManager()
|
||||
|
||||
Reference in New Issue
Block a user