summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-11-18 18:05:19 +0000
committerAapo Tahkola <[email protected]>2005-11-18 18:05:19 +0000
commitf31448f3c86697275bffe5363d473dd128cbd2ac (patch)
tree32cabaca9a228050262a6716b654f87999ae084e /src/mesa
parent40ca5b455f0710db3e8ceb65c8d8d2f047672e4c (diff)
Fix typo causing secondary color not to work properly.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_vp_build.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}