summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_clip.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-09-26 11:56:17 +0100
committerKeith Whitwell <[email protected]>2007-09-27 07:56:23 +0100
commit08589f71051e588b0bb7d0c8b529976c85398dd1 (patch)
tree294a567114f73cd51fc92e6553230a76867905ad /src/mesa/pipe/draw/draw_clip.c
parent7770acf8d4360ecfcaeece6e366f5adc6c0c9dee (diff)
Make flushing more lazy in the draw module.
Diffstat (limited to 'src/mesa/pipe/draw/draw_clip.c')
-rw-r--r--src/mesa/pipe/draw/draw_clip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/pipe/draw/draw_clip.c b/src/mesa/pipe/draw/draw_clip.c
index 3ccc408bc0b..a5051460479 100644
--- a/src/mesa/pipe/draw/draw_clip.c
+++ b/src/mesa/pipe/draw/draw_clip.c
@@ -248,8 +248,6 @@ do_clip_tri( struct draw_stage *stage,
inlist[1] = header->v[1];
inlist[2] = header->v[2];
- clipmask &= ~CLIP_CULL_BIT;
-
while (clipmask && n >= 3) {
const unsigned plane_idx = ffs(clipmask)-1;
const float *plane = clipper->plane[plane_idx];
@@ -331,8 +329,6 @@ do_clip_line( struct draw_stage *stage,
float t1 = 0.0F;
struct prim_header newprim;
- clipmask &= ~CLIP_CULL_BIT;
-
while (clipmask) {
const unsigned plane_idx = ffs(clipmask)-1;
const float *plane = clipper->plane[plane_idx];