summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-27 16:36:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-27 16:36:59 +0100
commit72e00096351137bd7eb0ae91474657a597836252 (patch)
tree51d2e7b4ca3638f24efff912c5d4a0615c905408
parentc7bd89fb54686c14b687c007e42c34c23423b0fd (diff)
sna: Fix advance through clip boxes for fill->boxes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 58ef2086..950eba1f 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -3046,7 +3046,7 @@ sna_poly_line_blt(DrawablePtr drawable,
break;
*b = box;
- if (box_intersect(b, c)) {
+ if (box_intersect(b, c++)) {
b->x1 += dx;
b->x2 += dx;
b->y1 += dy;
@@ -3376,7 +3376,7 @@ sna_poly_segment_blt(DrawablePtr drawable,
break;
*b = box;
- if (box_intersect(b, c)) {
+ if (box_intersect(b, c++)) {
b->x1 += dx;
b->x2 += dx;
b->y1 += dy;
@@ -4135,7 +4135,7 @@ zero_clipped:
break;
*b = box[count];
- if (box_intersect(b, c)) {
+ if (box_intersect(b, c++)) {
b->x1 += dx;
b->x2 += dx;
b->y1 += dy;
@@ -4275,7 +4275,7 @@ wide_clipped:
break;
*b = box[count];
- if (box_intersect(b, c)) {
+ if (box_intersect(b, c++)) {
b->x1 += dx;
b->x2 += dx;
b->y1 += dy;
@@ -4738,7 +4738,7 @@ sna_poly_fill_rect_blt(DrawablePtr drawable,
break;
*b = box;
- if (box_intersect(b, c)) {
+ if (box_intersect(b, c++)) {
b->x1 += dx;
b->x2 += dx;
b->y1 += dy;