summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-02-14 20:34:52 +0100
committerRoland Scheidegger <[email protected]>2007-02-14 20:36:29 +0100
commit7d8ed0f5f5960a492734cb415b8a85ef4ad79846 (patch)
treee53a238be2456af75af325401917b51f6f2ca980 /src/mesa/vbo/vbo_exec_array.c
parent83cf4ce6e40ed1841b94f528dc89838e875c720d (diff)
fix typo preventing generic arrays from working with ARB_vp (bug #9952)
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-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 7ea55470acb..1e4c310203b 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -196,7 +196,7 @@ static void recalculate_input_bindings( GLcontext *ctx )
}
for (i = 0; i < 16; i++) {
- if (exec->array.generic_array[0]->Enabled)
+ if (exec->array.generic_array[i]->Enabled)
inputs[VERT_ATTRIB_GENERIC0 + i] = exec->array.generic_array[i];
else
inputs[VERT_ATTRIB_GENERIC0 + i] = &vbo->generic_currval[i];