gallium/draw: remove always-true conditional

This commit is contained in:
Brian Paul
2010-01-13 16:48:57 -07:00
parent 8519b244f7
commit ee343feba1
+1 -3
View File
@@ -291,9 +291,7 @@ do_clip_tri( struct draw_stage *stage,
/* If flat-shading, copy color to new provoking vertex.
*/
if (clipper->flat && inlist[0] != header->v[2]) {
if (1) {
inlist[0] = dup_vert(stage, inlist[0], tmpnr++);
}
inlist[0] = dup_vert(stage, inlist[0], tmpnr++);
copy_colors(stage, inlist[0], header->v[2]);
}