mesa: fix comment about texture targets (bug 17005)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 6 Aug 2008 14:52:56 +0000 (08:52 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 6 Aug 2008 14:52:56 +0000 (08:52 -0600)
src/mesa/main/texobj.c

index 24d8110b002ce638288c6fe88d194e9244125479..8e8704f1ca4c9d1f6c6fa46b27c45cef8572a231 100644 (file)
@@ -871,7 +871,7 @@ _mesa_BindTexture( GLenum target, GLuint texName )
       if (newTexObj) {
          /* error checking */
          if (newTexObj->Target != 0 && newTexObj->Target != target) {
-            /* the named texture object's dimensions don't match the target */
+            /* the named texture object's target doesn't match the given target */
             _mesa_error( ctx, GL_INVALID_OPERATION,
                          "glBindTexture(wrong dimensionality)" );
             return;