aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glamor/glamor_getimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glamor/glamor_getimage.c')
-rw-r--r--xorg-server/glamor/glamor_getimage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xorg-server/glamor/glamor_getimage.c b/xorg-server/glamor/glamor_getimage.c
index 5609e707f..a932473e8 100644
--- a/xorg-server/glamor/glamor_getimage.c
+++ b/xorg-server/glamor/glamor_getimage.c
@@ -44,8 +44,6 @@ _glamor_get_image(DrawablePtr drawable, int x, int y, int w, int h,
if (format != ZPixmap)
goto fall_back;
- pixmap = glamor_get_drawable_pixmap(drawable);
- glamor_get_drawable_deltas(drawable, pixmap, &x_off, &y_off);
if (!glamor_set_planemask(pixmap, planeMask)) {
glamor_fallback("Failedto set planemask in glamor_solid.\n");