mesa: minor tweak to error message
authorBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2009 22:29:45 +0000 (16:29 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Apr 2009 22:10:26 +0000 (16:10 -0600)
src/mesa/main/matrix.c

index 7388276c458df5f5e192f5deac64d87d0926c967..39b4967a58e5ab2400484497f619a48444fb7478 100644 (file)
@@ -161,7 +161,7 @@ _mesa_MatrixMode( GLenum mode )
       break;
    case GL_TEXTURE:
       if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) {
-         _mesa_error(ctx, GL_INVALID_OPERATION, "glMatrixMode(invalid unit %d)",
+         _mesa_error(ctx, GL_INVALID_OPERATION, "glMatrixMode(invalid tex unit %d)",
                      ctx->Texture.CurrentUnit);
          return;
       }