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:
parent
1b6b2bcee1
commit
51cfefd59f
|
@ -1655,7 +1655,7 @@ ephyr_glamor_create_screen_resources(ScreenPtr pScreen)
|
|||
* Thus, delete the current screen pixmap, and put a fresh one in.
|
||||
*/
|
||||
old_screen_pixmap = pScreen->GetScreenPixmap(pScreen);
|
||||
dixDestroyPixmap(old_screen_pixmap, 0);
|
||||
pScreen->DestroyPixmap(old_screen_pixmap);
|
||||
|
||||
screen_pixmap = pScreen->CreatePixmap(pScreen,
|
||||
pScreen->width,
|
||||
|
|
Loading…
Reference in New Issue