diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index 2e6c7bdbc..cc16b0a75 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -609,10 +609,6 @@ glamor_egl_destroy_pixmap_image(PixmapPtr pixmap) struct glamor_egl_screen_private *glamor_egl = glamor_egl_get_screen_private(scrn); - /* Before destroy an image which was attached to - * a texture. we must call glFlush to make sure the - * operation on that texture has been done.*/ - glamor_block_handler(pixmap->drawable.pScreen); eglDestroyImageKHR(glamor_egl->display, pixmap_priv->image); pixmap_priv->image = NULL; }