Removed redundent call.
This commit is contained in:
parent
9df56ad858
commit
c70679107d
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user