From: Brian Paul Date: Thu, 21 May 2009 23:03:21 +0000 (-0600) Subject: mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2a74d76c96957cf0294dcf40d29526621ada95e;p=mesa.git mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS --- diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 6bf3c485c73..0982dc7977f 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; }