summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-14 08:22:29 -0600
committerBrian Paul <brianp@vmware.com>2009-05-21 09:17:08 -0600
commit899c524a49fe5dc7413656380ebd65bbd061c042 (patch)
treedf15deae4a29cc39a5a63dc9f0512b757c48e295 /src/mesa/vbo
parent2c007517b541ab470ad251365bd95c83002dfb16 (diff)
downloadexternal_mesa3d-899c524a49fe5dc7413656380ebd65bbd061c042.zip
external_mesa3d-899c524a49fe5dc7413656380ebd65bbd061c042.tar.gz
external_mesa3d-899c524a49fe5dc7413656380ebd65bbd061c042.tar.bz2
vbo: s/8/MAX_TEXTURE_COORD_UNITS/
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index f4ad394..fdb5018 100644
--- 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++)