Commit 3b26b90c authored by Eric Anholt's avatar Eric Anholt

glamor: Fix a compiler warning since the recent OOM fixes.

Signed-off-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
parent a63d796c
Pipeline #27084 passed with stages
in 10 minutes and 11 seconds
......@@ -146,8 +146,6 @@ glamor_prep_pixmap_box(PixmapPtr pixmap, glamor_access_t access, BoxPtr box)
static void
glamor_fini_pixmap(PixmapPtr pixmap)
{
ScreenPtr screen = pixmap->drawable.pScreen;
glamor_screen_private *glamor_priv = glamor_get_screen_private(screen);
glamor_pixmap_private *priv = glamor_get_pixmap_private(pixmap);
if (!GLAMOR_PIXMAP_PRIV_HAS_FBO(priv))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment