diff options
author | Eric Anholt <[email protected]> | 2012-10-09 17:52:34 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-10-15 11:53:24 -0700 |
commit | bc74c4bbaf198d121fb36341ce4f9839c34b5e75 (patch) | |
tree | 5bb13b65e8437c8140f9581e09955c76752588cc /src/mesa/main/nvprogram.c | |
parent | 09c006da9f5913e41c161866daadbc3a4ef4e469 (diff) |
mesa: Remove defines for NV_vertex_program limits.
Note that _mesa_GetVertexAttribPointervNV() is actually
glGetVertexAttribPointerv(), which operates on the generic attributes. The
geometry shader initialization looks like arbitrary cruft to me.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/nvprogram.c')
-rw-r--r-- | src/mesa/main/nvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c index 4b24dde39c6..6565190552f 100644 --- a/src/mesa/main/nvprogram.c +++ b/src/mesa/main/nvprogram.c @@ -218,7 +218,7 @@ _mesa_GetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer) GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); - if (index >= MAX_NV_VERTEX_PROGRAM_INPUTS) { + if (index >= MAX_VERTEX_GENERIC_ATTRIBS) { _mesa_error(ctx, GL_INVALID_VALUE, "glGetVertexAttribPointerNV(index)"); return; } |