diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-21 17:03:21 -0600 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-06-22 15:15:19 -0700 |
commit | 810df8317dfe30c573cfb8296e569f73d23b74a7 (patch) | |
tree | 26888537ab81e8af611853f5b34c4fa1b2bb9140 /src | |
parent | 19ca5ee1db002db48fd3d2ff665670a9bc8d699b (diff) |
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
(cherry picked from commit d2a74d76c96957cf0294dcf40d29526621ada95e)
Diffstat (limited to 'src')
-rw-r--r-- | 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 0882e8f37a..8f6621ee45 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -538,7 +538,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; } |