projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8519b24
)
gallium/draw: remove always-true conditional
author
Brian Paul
<brianp@vmware.com>
Wed, 13 Jan 2010 23:48:57 +0000
(16:48 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 14 Jan 2010 00:39:45 +0000
(17:39 -0700)
src/gallium/auxiliary/draw/draw_pipe_clip.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_clip.c
b/src/gallium/auxiliary/draw/draw_pipe_clip.c
index 205cda5eabed89e8976ad0faeed4799ac959b069..e51a9da76551763117d1e934f6a65e6769e98a23 100644
(file)
--- 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]);
}