Fixed typo of _texParametersDirty.

This commit is contained in:
Robert Osfield
2002-08-26 20:11:24 +00:00
parent 4ddfd8668e
commit 501f28449c
7 changed files with 17 additions and 17 deletions

View File

@@ -129,12 +129,12 @@ void Texture::apply(State& state) const
if (_subloadMode == OFF)
{
glBindTexture( GL_TEXTURE_2D, handle );
if (_texParamtersDirty) applyTexParameters(GL_TEXTURE_2D,state);
if (_texParametersDirty) applyTexParameters(GL_TEXTURE_2D,state);
}
else if (_image.valid() && _image->data())
{
glBindTexture( GL_TEXTURE_2D, handle );
if (_texParamtersDirty) applyTexParameters(GL_TEXTURE_2D,state);
if (_texParametersDirty) applyTexParameters(GL_TEXTURE_2D,state);
uint& modifiedTag = getModifiedTag(contextID);
if (_subloadMode == AUTO ||