projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ca5ee
)
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
author
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 23:03:21 +0000
(17:03 -0600)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 22 Jun 2009 22:15:19 +0000
(15:15 -0700)
(cherry picked from commit
d2a74d76c96957cf0294dcf40d29526621ada95e
)
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 0882e8f37a237dd05033efc062857450674c7480..8f6621ee45fec9722fea211837ac1cf424b47ed2 100644
(file)
--- 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_ATTRIB
S) {
+ if (index >= MAX_
NV_VERTEX_PROGRAM_INPUT
S) {
_mesa_error(ctx, GL_INVALID_VALUE, "glVertexAttribPointerNV(index)");
return;
}