Removed enabling of use client stage storage hint.

This commit is contained in:
Robert Osfield
2004-07-12 17:30:36 +00:00
parent 6fd4677868
commit 47910f2c2e
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ public:
if (texture)
{
texture->setUnRefImageDataAfterApply(_unrefImageOnApply);
texture->setClientStorageHint(_clientStorageHint);
//texture->setClientStorageHint(_clientStorageHint);
foundTextureState = true;
}
}

View File

@@ -138,7 +138,7 @@ void Optimizer::optimize(osg::Node* node, unsigned int options)
osg::notify(osg::INFO)<<"Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS"<<std::endl;
TextureVisitor tv(true,true, // unref image
true,true, // client storage
false,false, // client storage
false,1.0, // anisotropic filtering
this );
node->accept(tv);