From c70679107d95ed1ee08b28d5c0877acc7e239793 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 3 Dec 2010 17:20:32 +0000 Subject: [PATCH] Removed redundent call. --- src/osg/Texture2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Texture2D.cpp b/src/osg/Texture2D.cpp index b14820ced..a08257ffc 100644 --- a/src/osg/Texture2D.cpp +++ b/src/osg/Texture2D.cpp @@ -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())