Show
Ignore:
Timestamp:
11/06/09 17:09:55 (5 years ago)
Author:
robert
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Texture2D.cpp

    r10595 r10723  
    138138    const unsigned int contextID = state.getContextID(); 
    139139 
    140     Texture::TextureObjectManager* tom = Texture::getTextureObjectManager(contextID); 
     140    Texture::TextureObjectManager* tom = Texture::getTextureObjectManager(contextID).get(); 
    141141    ElapsedTime elapsedTime(&(tom->getApplyTime())); 
    142142    tom->getNumberApplied()++;