added a comment in BindTexture
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:31:21 +0000 (17:31 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:31:21 +0000 (17:31 +0000)
src/mesa/main/texobj.c

index 5e02f3b04ca9bb7a92328e5a1a8dfa346175c08b..079a0607c6fd2a00e5c66fa23385fab5e3480892 100644 (file)
@@ -783,6 +783,10 @@ _mesa_BindTexture( GLenum target, GLuint texName )
    }
 
    if (oldTexObj->Name == texName)
+      /* XXX this might be wrong.  If the texobj is in use by another
+       * context and a texobj parameter was changed, this might be our
+       * only chance to update this context's hardware state.
+       */
       return;   /* rebinding the same texture- no change */
 
    /*