summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:54:59 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-07 14:54:59 +0000
commit266f5adae30d65896220c7c775f8a4a851924f99 (patch)
treea0ca23b3b89164b7ed8eba48a767e4286fed6c21
parent521b6d711720872ed28fa62248c29274cc98f95a (diff)
fix color array mixup
-rw-r--r--src/mesa/tnl/t_vb_program.c9
1 files 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 */