From 95368f25c1793619e94d464fe94afcea0409ae26 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 6 Apr 2011 14:22:39 -0600 Subject: [PATCH] mesa: fix error message text --- src/mesa/main/varray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2