aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glamor/glamor_getspans.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glamor/glamor_getspans.c')
-rw-r--r--xorg-server/glamor/glamor_getspans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/glamor/glamor_getspans.c b/xorg-server/glamor/glamor_getspans.c
index ff58725d6..42df87f3d 100644
--- a/xorg-server/glamor/glamor_getspans.c
+++ b/xorg-server/glamor/glamor_getspans.c
@@ -69,8 +69,8 @@ _glamor_get_spans(DrawablePtr drawable,
ret = TRUE;
if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RO)) {
fbGetSpans(drawable, wmax, points, widths, count, dst);
- glamor_finish_access(drawable, GLAMOR_ACCESS_RO);
}
+ glamor_finish_access(drawable);
done:
return ret;
}