diff options
Diffstat (limited to 'src/glamor_picture.c')
-rw-r--r-- | src/glamor_picture.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glamor_picture.c b/src/glamor_picture.c index 44e1e40..7d5ffbb 100644 --- a/src/glamor_picture.c +++ b/src/glamor_picture.c @@ -73,13 +73,10 @@ glamor_create_picture(PicturePtr picture) { PixmapPtr pixmap; glamor_pixmap_private *pixmap_priv; - glamor_screen_private *glamor_priv; if (!picture || !picture->pDrawable) return 0; - glamor_priv = - glamor_get_screen_private(picture->pDrawable->pScreen); pixmap = glamor_get_drawable_pixmap(picture->pDrawable); pixmap_priv = glamor_get_pixmap_private(pixmap); if (!pixmap_priv) { @@ -112,13 +109,10 @@ glamor_destroy_picture(PicturePtr picture) { PixmapPtr pixmap; glamor_pixmap_private *pixmap_priv; - glamor_screen_private *glamor_priv; if (!picture || !picture->pDrawable) return; - glamor_priv = - glamor_get_screen_private(picture->pDrawable->pScreen); pixmap = glamor_get_drawable_pixmap(picture->pDrawable); pixmap_priv = glamor_get_pixmap_private(pixmap); |