From adf3a64b03c636007ce4d8d492c60aad8070c978 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 Nov 2006 17:31:21 +0000 Subject: fix error msg --- src/mesa/shader/arbprogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/shader') diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c index baba887912..91fb691038 100644 --- a/src/mesa/shader/arbprogram.c +++ b/src/mesa/shader/arbprogram.c @@ -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); -- cgit v1.2.3