fix error msg
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Nov 2006 17:31:21 +0000 (17:31 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Nov 2006 17:31:21 +0000 (17:31 +0000)
src/mesa/shader/arbprogram.c

index baba887912cd5caf9bb7eee3eba669111165f30d..91fb691038197ad0d37eafe03f371176b13e8b57 100644 (file)
@@ -126,7 +126,7 @@ _mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params)
       case GL_CURRENT_VERTEX_ATTRIB_ARB:
          if (index == 0) {
             _mesa_error(ctx, GL_INVALID_OPERATION,
-                        "glGetVertexAttribfvARB(pname)");
+                        "glGetVertexAttribfvARB(index==0)");
             return;
          }
          FLUSH_CURRENT(ctx, 0);