From 7d8ed0f5f5960a492734cb415b8a85ef4ad79846 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Wed, 14 Feb 2007 20:34:52 +0100 Subject: [PATCH] fix typo preventing generic arrays from working with ARB_vp (bug #9952) --- src/mesa/vbo/vbo_exec_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2