projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2fb12
)
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
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 23:03:21 +0000
(17:03 -0600)
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index
6bf3c48
..
0982dc7
100644
(file)
--- 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_ATTRIB
S) {
+ if (index >= MAX_
NV_VERTEX_PROGRAM_INPUT
S) {
_mesa_error(ctx, GL_INVALID_VALUE, "glVertexAttribPointerNV(index)");
return;
}