Fix typo causing secondary color not to work properly.

This commit is contained in:
Aapo Tahkola 2005-11-18 18:05:19 +00:00
parent 40ca5b455f
commit f31448f3c8

View file

@ -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);
}
}