From 376fb1c23efd437109da88cd2e53fca9d1c77bf2 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 18 Oct 2007 10:09:01 -0600 Subject: [PATCH] fix logic error in stipple_quad() (point/line fragments were getting dropped) --- src/mesa/pipe/softpipe/sp_quad_stipple.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/pipe/softpipe/sp_quad_stipple.c b/src/mesa/pipe/softpipe/sp_quad_stipple.c index b2658ff158b..4af5059d67e 100644 --- a/src/mesa/pipe/softpipe/sp_quad_stipple.c +++ b/src/mesa/pipe/softpipe/sp_quad_stipple.c @@ -50,10 +50,11 @@ stipple_quad(struct quad_stage *qs, struct quad_header *quad) quad->mask &= (((stipple0 >> col0) & 0x3) | (((stipple1 >> col0) & 0x3) << 2)); #endif - - if (quad->mask) - qs->next->run(qs->next, quad); + if (!quad->mask) + return; } + + qs->next->run(qs->next, quad); } -- 2.30.2