mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 20:30:12 +01:00
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
(cherry picked from commit d2a74d76c9)
This commit is contained in:
parent
19ca5ee1db
commit
810df8317d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue