Compile fixes.

This commit is contained in:
Robert Osfield
2003-07-15 07:53:25 +00:00
parent ae2712c84b
commit fc4b990a7a
4 changed files with 5 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ void MyRenderToTextureStage::draw(osg::State& state, osgUtil::RenderLeaf*& previ
{
// Create pbuffer texture
const unsigned int contextID = state.getContextID();
osg::Texture::TextureObject* textureObeject = _texture->getTextureObject(contextID);
if (textureObeject == 0)
osg::Texture::TextureObject* textureObject = _texture->getTextureObject(contextID);
if (textureObject == 0)
{
// Create dynamic texture, subload callback required.
_texture->apply(state);