From f31448f3c86697275bffe5363d473dd128cbd2ac Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Fri, 18 Nov 2005 18:05:19 +0000 Subject: Fix typo causing secondary color not to work properly. --- src/mesa/tnl/t_vp_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 0f1f303be28..598930afb04 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -1359,7 +1359,7 @@ static void build_tnl_program( struct tnl_program *p ) emit_passthrough(p, VERT_ATTRIB_COLOR0, VERT_RESULT_COL0); if (p->state->fragprog_inputs_read & FRAG_BIT_COL1) - emit_passthrough(p, VERT_ATTRIB_COLOR0, VERT_RESULT_COL1); + emit_passthrough(p, VERT_ATTRIB_COLOR1, VERT_RESULT_COL1); } } -- cgit v1.2.3