Mesa (master): mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/ MAX_NV_VERTEX_PROGRAM_INPUTS

Brian Paul brianp at kemper.freedesktop.org
Thu May 21 23:04:44 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 21 17:03:21 2009 -0600

mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS

---

 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 6bf3c48..0982dc7 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -532,7 +532,7 @@ _mesa_VertexAttribPointerNV(GLuint index, GLint size, GLenum type,
    GET_CURRENT_CONTEXT(ctx);
    ASSERT_OUTSIDE_BEGIN_END(ctx);
 
-   if (index >= MAX_VERTEX_PROGRAM_ATTRIBS) {
+   if (index >= MAX_NV_VERTEX_PROGRAM_INPUTS) {
       _mesa_error(ctx, GL_INVALID_VALUE, "glVertexAttribPointerNV(index)");
       return;
    }




More information about the mesa-commit mailing list