fix error msg

This commit is contained in:
Brian Paul
2006-11-04 17:31:21 +00:00
parent 590b557b10
commit adf3a64b03
+1 -1
View 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);