diff options
author | Brian Paul <[email protected]> | 2009-05-14 08:22:29 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-21 09:17:08 -0600 |
commit | 899c524a49fe5dc7413656380ebd65bbd061c042 (patch) | |
tree | df15deae4a29cc39a5a63dc9f0512b757c48e295 /src/mesa | |
parent | 2c007517b541ab470ad251365bd95c83002dfb16 (diff) |
vbo: s/8/MAX_TEXTURE_COORD_UNITS/
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 2 |
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 f4ad394f516..fdb501815d8 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++) |