diff options
author | Brian Paul <[email protected]> | 2010-01-13 16:48:57 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-13 17:39:45 -0700 |
commit | ee343feba126c0915983699f729c77891082df6a (patch) | |
tree | 865ccf6156360ae611ab1d0154e78ede3032294f /src | |
parent | 8519b244f7efe996c6791f7caf2dddee0b020562 (diff) |
gallium/draw: remove always-true conditional
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_clip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_clip.c b/src/gallium/auxiliary/draw/draw_pipe_clip.c index 205cda5eabe..e51a9da7655 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_clip.c +++ b/src/gallium/auxiliary/draw/draw_pipe_clip.c @@ -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]); } |