diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-07 14:54:01 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-07 14:54:01 +0000 |
commit | 0e7f2952fe6cb3fb61cd734b184c39b42fe104af (patch) | |
tree | 4a2b97d5d5c6658ca8f9a46a12f5bcc6b5252851 /src/mesa/tnl | |
parent | e3dd0a4e7fefb3d095f64f5bdf6464d689b019a0 (diff) |
fix color array mixup
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vb_program.c | 4 |
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 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 */ |