Mesa (master): mesa: fix error message text

Brian Paul brianp at kemper.freedesktop.org
Wed Apr 6 15:53:00 PDT 2011


Module: Mesa
Branch: master
Commit: 95368f25c1793619e94d464fe94afcea0409ae26
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95368f25c1793619e94d464fe94afcea0409ae26

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Apr  6 14:22:39 2011 -0600

mesa: fix error message text

---

 src/mesa/main/varray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index cfed4b5..d20e2c7 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;
    }
 



More information about the mesa-commit mailing list