summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-04-07 14:54:01 +0000
committerBrian Paul <[email protected]>2003-04-07 14:54:01 +0000
commit0e7f2952fe6cb3fb61cd734b184c39b42fe104af (patch)
tree4a2b97d5d5c6658ca8f9a46a12f5bcc6b5252851 /src/mesa/tnl
parente3dd0a4e7fefb3d095f64f5bdf6464d689b019a0 (diff)
fix color array mixup
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vb_program.c4
1 files changed, 2 insertions, 2 deletions
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 */