Revert "vfb: use dixDestroyPixmap() instead of direct driver call"
This reverts commit c117925ace
.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
parent
ab5e559771
commit
1b6b2bcee1
|
@ -801,7 +801,8 @@ vfbCloseScreen(ScreenPtr pScreen)
|
|||
/*
|
||||
* fb overwrites miCloseScreen, so do this here
|
||||
*/
|
||||
dixDestroyPixmap(pScreen->devPrivate, 0);
|
||||
if (pScreen->devPrivate)
|
||||
(*pScreen->DestroyPixmap) (pScreen->devPrivate);
|
||||
pScreen->devPrivate = NULL;
|
||||
|
||||
return pScreen->CloseScreen(pScreen);
|
||||
|
|
Loading…
Reference in New Issue