fix color array mixup
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Apr 2003 14:54:01 +0000 (14:54 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Apr 2003 14:54:01 +0000 (14:54 +0000)
src/mesa/tnl/t_vb_program.c

index 045769c..9b1cbf7 100644 (file)
@@ -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 */