summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-23 20:30:58 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-23 22:11:19 +0000
commite5bfea5826117bdd29664d83b3d478ff9db29ca3 (patch)
treeb2b7d9fe72603b7c84652d7b382e970bd1b8f4bb
parent819dc93e52533afc9b9005db1472672c3d42229f (diff)
sna: Discard any GPU damage when overwriting with trapezoids
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_trapezoids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 83e03351..81d43123 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -3177,7 +3177,7 @@ trapezoid_span_inplace(CARD8 op, PicturePtr src, PicturePtr dst,
region.data = NULL;
if (!sna_drawable_move_region_to_cpu(dst->pDrawable, &region,
- MOVE_READ | MOVE_WRITE))
+ MOVE_WRITE))
return true;
pixmap = get_drawable_pixmap(dst->pDrawable);