diff options
-rw-r--r-- | glamor/glamor.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index 903f6bdf6..45cc0952e 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -845,11 +845,7 @@ int glamor_name_from_pixmap(PixmapPtr pixmap, CARD16 *stride, CARD32 *size) { glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap); - glamor_screen_private *glamor_priv = - glamor_get_screen_private(pixmap->drawable.pScreen); - if (!glamor_priv->dri3_enabled) - return -1; switch (pixmap_priv->type) { case GLAMOR_TEXTURE_DRM: case GLAMOR_TEXTURE_ONLY: |