Revert "miext: use dixDestroyPixmap() instead of direct driver call"
This reverts commit 372a510ef0.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
parent
6f4ad392bd
commit
37d2db4398
|
|
@ -103,7 +103,8 @@ shadowCloseScreen(ScreenPtr pScreen)
|
|||
unwrap(pBuf, pScreen, BlockHandler);
|
||||
shadowRemove(pScreen, pBuf->pPixmap);
|
||||
DamageDestroy(pBuf->pDamage);
|
||||
dixDestroyPixmap(pBuf->pPixmap, 0);
|
||||
if (pBuf->pPixmap)
|
||||
pScreen->DestroyPixmap(pBuf->pPixmap);
|
||||
free(pBuf);
|
||||
return pScreen->CloseScreen(pScreen);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue