Fixed typo

This commit is contained in:
Robert Osfield
2009-12-08 16:58:21 +00:00
parent 6c0d321e3d
commit d54b6907b8

View File

@@ -164,7 +164,6 @@ void Texture2D::apply(State& state) const
}
}
if (textureObject)
{
textureObject->bind();
@@ -211,7 +210,7 @@ void Texture2D::apply(State& state) const
//glBindTexture( GL_TEXTURE_2D, handle );
// update the modified tag to show that it is upto date.
if (_image.vaid()) getModifiedCount(contextID) = _image->getModifiedCount();
if (_image.valid()) getModifiedCount(contextID) = _image->getModifiedCount();
}
else if (_image.valid() && _image->data())
{