From 0e7f2952fe6cb3fb61cd734b184c39b42fe104af Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 7 Apr 2003 14:54:01 +0000 Subject: fix color array mixup --- src/mesa/tnl/t_vb_program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vb_program.c') diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 045769c186..9b1cbf7639 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 */ -- cgit v1.2.3