OSDN Git Service

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 24d8110..8e8704f 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;