OSDN Git Service
(root)
/
android-x86
/
external-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
f4ad394
..
fdb5018
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++)