summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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];