Fixed build with no automatic conversion of ref_ptr<> to C pointer

This commit is contained in:
Robert Osfield
2009-11-06 16:09:55 +00:00
parent 40f2478b77
commit 4163f15052
7 changed files with 8 additions and 8 deletions

View File

@@ -1038,10 +1038,10 @@ void SceneView::draw()
osg::State* state = _renderInfo.getState();
state->initializeExtensionProcs();
osg::Texture::TextureObjectManager* tom = osg::Texture::getTextureObjectManager(state->getContextID());
osg::Texture::TextureObjectManager* tom = osg::Texture::getTextureObjectManager(state->getContextID()).get();
tom->newFrame(state->getFrameStamp());
osg::GLBufferObjectManager* bom = osg::GLBufferObjectManager::getGLBufferObjectManager(state->getContextID());
osg::GLBufferObjectManager* bom = osg::GLBufferObjectManager::getGLBufferObjectManager(state->getContextID()).get();
bom->newFrame(state->getFrameStamp());
if (!_initCalled) init();