summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-21 17:03:21 -0600
committerBrian Paul <brianp@vmware.com>2009-05-21 17:03:21 -0600
commitd2a74d76c96957cf0294dcf40d29526621ada95e (patch)
tree7218a39eab5bbe6f2e6ca286095fdcd2c7b7b34c
parent7e2fb129816df48a103da3e4e6937530bd86cac8 (diff)
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
-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 6bf3c485c7..0982dc7977 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;
}