summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-04-08 13:39:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-04-08 13:39:47 +0100
commitf5deea4f60433ee2b0c2d02fba682fff8b7829e8 (patch)
tree5226df21c79fb804962acf96ce960214666af78c
parentc3d7f4c1cf7d052163b7c4e74bb202c618f0eb76 (diff)
sna: Correct partial-write flag for PolySegments fallback
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 6afd5820..61710ad5 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -7642,7 +7642,7 @@ fallback:
goto out;
if (!sna_drawable_move_region_to_cpu(drawable, &data.region,
drawable_gc_flags(drawable, gc,
- !(data.flags & 4 && n > 1))))
+ !(data.flags & 4 && n == 1))))
goto out;
/* Install FillSpans in case we hit a fallback path in fbPolySegment */