diff options
author | Brian Paul <[email protected]> | 2006-11-04 17:31:21 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-04 17:31:21 +0000 |
commit | adf3a64b03c636007ce4d8d492c60aad8070c978 (patch) | |
tree | 8bec80393698e9ad060a885d4f340ab537d5336f /src/mesa/shader/arbprogram.c | |
parent | 590b557b10ccff7135d76ec800b944c8901c5141 (diff) |
fix error msg
Diffstat (limited to 'src/mesa/shader/arbprogram.c')
-rw-r--r-- | src/mesa/shader/arbprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c index baba887912c..91fb6910381 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); |