Revert "kdrive: use dixDestroyPixmap() instead of direct driver call"

This reverts commit 4378656cbb.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
Alan Coopersmith 2025-06-11 17:44:28 -07:00 committed by Marge Bot
parent 1b6b2bcee1
commit 51cfefd59f

View File

@ -1655,7 +1655,7 @@ ephyr_glamor_create_screen_resources(ScreenPtr pScreen)
* Thus, delete the current screen pixmap, and put a fresh one in. * Thus, delete the current screen pixmap, and put a fresh one in.
*/ */
old_screen_pixmap = pScreen->GetScreenPixmap(pScreen); old_screen_pixmap = pScreen->GetScreenPixmap(pScreen);
dixDestroyPixmap(old_screen_pixmap, 0); pScreen->DestroyPixmap(old_screen_pixmap);
screen_pixmap = pScreen->CreatePixmap(pScreen, screen_pixmap = pScreen->CreatePixmap(pScreen,
pScreen->width, pScreen->width,