summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-31 22:18:43 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-31 22:47:24 +0100
commitf1ee5bdaa87800fa0e12cace055bbf4cfa94aac1 (patch)
tree3dedf057ebfa3495219e16c2e930630e49215381 /uxa
parent1454ea0b57465041f8044050390b97134f1f6d1b (diff)
uxa: Spans, try again to get the early break correct.
Trigger happy bug fixing. The sign *was* right, the endpoint was wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit a386a003e7b0ff7100434dccd51fedd822454a6c) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'uxa')
-rw-r--r--uxa/uxa-accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uxa/uxa-accel.c b/uxa/uxa-accel.c
index 665b23d9..81e8fd72 100644
--- a/uxa/uxa-accel.c
+++ b/uxa/uxa-accel.c
@@ -168,7 +168,7 @@ uxa_fill_spans(DrawablePtr pDrawable, GCPtr pGC, int n,
} else {
pbox = REGION_RECTS(pClip);
while (nbox--) {
- if (pbox->y2 <= fullY1)
+ if (pbox->y1 > fullY1)
break;
if (pbox->y1 <= fullY1) {