diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-25 20:13:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-26 12:48:07 +0000 |
commit | 55569272f7d4232ef50f7b964dda82f85a190b99 (patch) | |
tree | 6c59f271de7f55f0080afd5f88e4c567833ba0b5 /src/sna/sna_composite.c | |
parent | 4a132ddbf06e5ffc364c25002a1e46ad8bf0e45a (diff) |
sna: Apply the same migration flags for the dst alphamap as for the dst pixmap
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r-- | src/sna/sna_composite.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c index 6fb2d275..0faad844 100644 --- a/src/sna/sna_composite.c +++ b/src/sna/sna_composite.c @@ -519,8 +519,7 @@ fallback: if (!sna_drawable_move_region_to_cpu(dst->pDrawable, ®ion, flags)) goto out; if (dst->alphaMap && - !sna_drawable_move_to_cpu(dst->alphaMap->pDrawable, - MOVE_WRITE | MOVE_READ)) + !sna_drawable_move_to_cpu(dst->alphaMap->pDrawable, flags)) goto out; if (src->pDrawable) { if (!sna_drawable_move_to_cpu(src->pDrawable, |