summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-20 19:31:44 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-20 19:31:44 +0000
commitca5c028c2b4d9bf02002acd484054fe427ea8d09 (patch)
treeab3b481b6ae747de02f7885434b730e3be5ab70c /uxa
parentde2de36049e2958a60f63fadffe8f54de8da1e56 (diff)
glamor: Release the drawable after passing to glamor_push_pixels
An unlikely path, but a double prepare instead of a prepare/finish. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa')
-rw-r--r--uxa/uxa-accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uxa/uxa-accel.c b/uxa/uxa-accel.c
index 76425fe9..27215ddf 100644
--- a/uxa/uxa-accel.c
+++ b/uxa/uxa-accel.c
@@ -1027,7 +1027,7 @@ uxa_push_pixels(GCPtr pGC, PixmapPtr pBitmap,
ok = glamor_push_pixels_nf(pGC, pBitmap, pDrawable, w, h, x, y);
uxa_finish_access(&pBitmap->drawable, UXA_GLAMOR_ACCESS_RO);
}
- uxa_prepare_access(pDrawable, UXA_GLAMOR_ACCESS_RW);
+ uxa_finish_access(pDrawable, UXA_GLAMOR_ACCESS_RW);
}
if (!ok)
goto fallback;