From: Aapo Tahkola Date: Fri, 18 Nov 2005 18:05:19 +0000 (+0000) Subject: Fix typo causing secondary color not to work properly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f31448f3c86697275bffe5363d473dd128cbd2ac;p=mesa.git Fix typo causing secondary color not to work properly. --- 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); } }