aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glamor/glamor_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glamor/glamor_image.c')
-rw-r--r--xorg-server/glamor/glamor_image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xorg-server/glamor/glamor_image.c b/xorg-server/glamor/glamor_image.c
index 4791d089f..b38b41212 100644
--- a/xorg-server/glamor/glamor_image.c
+++ b/xorg-server/glamor/glamor_image.c
@@ -88,8 +88,7 @@ static void
glamor_put_image_bail(DrawablePtr drawable, GCPtr gc, int depth, int x, int y,
int w, int h, int leftPad, int format, char *bits)
{
- if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW) &&
- glamor_prepare_access_gc(gc))
+ if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW))
fbPutImage(drawable, gc, depth, x, y, w, h, leftPad, format, bits);
glamor_finish_access(drawable);
}