mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS

(cherry picked from commit d2a74d76c9)
This commit is contained in:
Brian Paul 2009-05-21 17:03:21 -06:00 committed by Ian Romanick
parent 19ca5ee1db
commit 810df8317d

View file

@ -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;
}