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

@@ -209,7 +209,7 @@ void Texture2DArray::apply(State& state) const
// current OpenGL context.
const unsigned int contextID = state.getContextID();
Texture::TextureObjectManager* tom = Texture::getTextureObjectManager(contextID);
Texture::TextureObjectManager* tom = Texture::getTextureObjectManager(contextID).get();
ElapsedTime elapsedTime(&(tom->getApplyTime()));
tom->getNumberApplied()++;