summaryrefslogtreecommitdiff
path: root/glamor/glamor_setspans.c
diff options
context:
space:
mode:
Diffstat (limited to 'glamor/glamor_setspans.c')
-rw-r--r--glamor/glamor_setspans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_setspans.c b/glamor/glamor_setspans.c
index 61163ce9b..4d6fe9602 100644
--- a/glamor/glamor_setspans.c
+++ b/glamor/glamor_setspans.c
@@ -101,6 +101,6 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
drawable, glamor_get_drawable_location(drawable));
if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW)) {
fbSetSpans(drawable, gc, src, points, widths, n, sorted);
- glamor_finish_access(drawable);
+ glamor_finish_access(drawable, GLAMOR_ACCESS_RW);
}
}