From 5ead727d52f8a149c94a1955bec7172722ccb403 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 11 Jun 2025 17:44:28 -0700 Subject: [PATCH] Revert "fb: use dixDestroyPixmap() instead of direct driver call" This reverts commit 08ec122fa7565bb037ded1f014e35cca3d36103e. Part-of: --- fb/fboverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb/fboverlay.c b/fb/fboverlay.c index d8d9c2d75..7ea8e660b 100644 --- a/fb/fboverlay.c +++ b/fb/fboverlay.c @@ -83,7 +83,7 @@ fbOverlayCloseScreen(ScreenPtr pScreen) int i; for (i = 0; i < pScrPriv->nlayers; i++) { - dixDestroyPixmap(pScrPriv->layer[i].u.run.pixmap, 0); + (*pScreen->DestroyPixmap) (pScrPriv->layer[i].u.run.pixmap); RegionUninit(&pScrPriv->layer[i].u.run.region); } return TRUE;