projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small...
[mesa.git]
/
src
/
mesa
/
main
/
varray.c
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 6781b698150298eece542f4e4181ba5be05efb5d..cf64fb23df79d616f79fedec646c7ea9b0bbfd7b 100644
(file)
--- a/
src/mesa/main/varray.c
+++ b/
src/mesa/main/varray.c
@@
-499,7
+499,7
@@
_mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type,
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
- if (index >= ctx->Const.
MaxVertexProgram
Attribs) {
+ if (index >= ctx->Const.
VertexProgram.Max
Attribs) {
_mesa_error(ctx, GL_INVALID_VALUE, "glVertexAttribPointerARB(index)");
return;
}