summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-27 13:57:59 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-27 13:57:59 +0100
commit5d51ff0cf901b808c3cd5aea761d51e6d15b73bf (patch)
tree4b61f87167760b5b53435c7c2a0d4c54342c5847
parent990043f6b8cf8e580aad2e52f8d236a6aec838b5 (diff)
sna: Clip PolyLines to the current clip box
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 7b8f7616..d7761039 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2638,7 +2638,7 @@ sna_poly_zero_line_blt(DrawablePtr drawable,
b->x2++;
b->y2++;
if (oc1 | oc2)
- box_intersect(b, &clip.extents);
+ box_intersect(b, extents);
if (++b == last_box) {
ret = &&rectangle_continue;
goto *jump;
@@ -3431,7 +3431,7 @@ sna_poly_zero_segment_blt(DrawablePtr drawable,
b->x2++;
b->y2++;
if (oc1 | oc2)
- box_intersect(b, &clip.extents);
+ box_intersect(b, extents);
if (++b == last_box) {
ret = &&rectangle_continue;
goto *jump;