Add call to MultiObjectCache::releaseGLObjects

move
scrawl 9 years ago
parent 4ca6e91292
commit cdefee3e64

@ -480,6 +480,7 @@ namespace Resource
void SceneManager::releaseGLObjects(osg::State *state) void SceneManager::releaseGLObjects(osg::State *state)
{ {
mCache->releaseGLObjects(state); mCache->releaseGLObjects(state);
mInstanceCache->releaseGLObjects(state);
} }
void SceneManager::setIncrementalCompileOperation(osgUtil::IncrementalCompileOperation *ico) void SceneManager::setIncrementalCompileOperation(osgUtil::IncrementalCompileOperation *ico)

Loading…
Cancel
Save