summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-06 14:22:39 -0600
committerBrian Paul <[email protected]>2011-04-06 16:52:48 -0600
commit95368f25c1793619e94d464fe94afcea0409ae26 (patch)
tree5c606c0549881414124e5770e333ba7d4be8f7bf /src
parent7b8830d81d816c22d5930bec1f0f178cf0d138c6 (diff)
mesa: fix error message text
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/varray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index cfed4b506a5..d20e2c7193e 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -484,7 +484,7 @@ _mesa_DisableVertexAttribArrayARB(GLuint index)
if (index >= ctx->Const.VertexProgram.MaxAttribs) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glEnableVertexAttribArrayARB(index)");
+ "glDisableVertexAttribArrayARB(index)");
return;
}