From: Brian Paul Date: Mon, 7 Apr 2003 14:54:01 +0000 (+0000) Subject: fix color array mixup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e7f2952fe6cb3fb61cd734b184c39b42fe104af;p=mesa.git fix color array mixup --- diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 045769c186c..9b1cbf76399 100644 --- a/src/mesa/tnl/t_vb_program.c +++ b/src/mesa/tnl/t_vb_program.c @@ -338,8 +338,8 @@ static GLboolean run_init_vp( GLcontext *ctx, /* Make the color0[] and color1[] arrays point into the attribs[] arrays */ init_color_array( &store->color0[0], &store->attribs[VERT_RESULT_COL0] ); - init_color_array( &store->color0[1], &store->attribs[VERT_RESULT_COL1] ); - init_color_array( &store->color1[0], &store->attribs[VERT_RESULT_BFC0] ); + init_color_array( &store->color0[1], &store->attribs[VERT_RESULT_BFC0] ); + init_color_array( &store->color1[0], &store->attribs[VERT_RESULT_COL1] ); init_color_array( &store->color1[1], &store->attribs[VERT_RESULT_BFC1] ); /* a few other misc allocations */