diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-04 16:12:17 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-04 16:28:29 +0100 |
commit | 898087014c36c757f8d2e0087e63467192a52837 (patch) | |
tree | f3583ae2322c6c24951f83ad08fcf5169051556a | |
parent | 20afd7263f65f29128fbbdbd5894a49594cda669 (diff) |
sna: Fix FillRectangles intersection with complex clip
Lesson 2: Use the right variables.
Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70137
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_composite.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c index a36bdf20..200a2074 100644 --- a/src/sna/sna_composite.c +++ b/src/sna/sna_composite.c @@ -1006,11 +1006,7 @@ sna_composite_rectangles(CARD8 op, } } else { for (i = 0; i < num_boxes; i++) { - RegionRec tmp; - - region.extents = boxes[i]; - region.data = NULL; - + RegionRec tmp = { boxes[i] }; if (pixman_region_intersect(&tmp, &tmp, dst->pCompositeClip)) { int n = 0; |