Removed redundent call.

This commit is contained in:
Robert Osfield 2010-12-03 17:20:32 +00:00
parent 9df56ad858
commit c70679107d

View File

@ -160,7 +160,7 @@ void Texture2D::apply(State& state) const
// get the texture object for the current contextID.
TextureObject* textureObject = getTextureObject(contextID);
if (textureObject && !textureObjectValid(state))
if (textureObject)
{
bool textureObjectInvalidated = false;
if (_subloadCallback.valid())