From 266f5adae30d65896220c7c775f8a4a851924f99 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 7 Apr 2003 14:54:59 +0000 Subject: fix color array mixup --- src/mesa/tnl/t_vb_program.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 3cddb2be36..8925e22351 100644 --- a/src/mesa/tnl/t_vb_program.c +++ b/src/mesa/tnl/t_vb_program.c @@ -1,9 +1,8 @@ - /* * Mesa 3-D graphics library - * Version: 5.0 + * Version: 5.0.2 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -383,8 +382,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