From: Brian Paul Date: Wed, 6 Apr 2011 20:22:39 +0000 (-0600) Subject: mesa: fix error message text X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95368f25c1793619e94d464fe94afcea0409ae26;p=mesa.git mesa: fix error message text --- 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; }