projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c00751
)
vbo: s/8/MAX_TEXTURE_COORD_UNITS/
author
Brian Paul
<brianp@vmware.com>
Thu, 14 May 2009 14:22:29 +0000
(08:22 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 15:17:08 +0000
(09:17 -0600)
src/mesa/vbo/vbo_exec_array.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec_array.c
b/src/mesa/vbo/vbo_exec_array.c
index f4ad394f5166b839e4e2f15bba7b8b0222992cb6..fdb501815d8f4d3eab9668c531dc5a460ad79d22 100644
(file)
--- a/
src/mesa/vbo/vbo_exec_array.c
+++ b/
src/mesa/vbo/vbo_exec_array.c
@@
-115,7
+115,7
@@
static void bind_array_obj( GLcontext *ctx )
}
exec->array.legacy_array[VERT_ATTRIB_EDGEFLAG] = &arrayObj->EdgeFlag;
- for (i = 0; i <
8
; i++)
+ for (i = 0; i <
MAX_TEXTURE_COORD_UNITS
; i++)
exec->array.legacy_array[VERT_ATTRIB_TEX0 + i] = &arrayObj->TexCoord[i];
for (i = 0; i < VERT_ATTRIB_MAX; i++)