Revert "xnest: use dixDestroyPixmap() instead of direct driver call"
This reverts commit 0a54e24721
.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
parent
51cfefd59f
commit
9550b2d105
|
@ -224,7 +224,7 @@ xnestChangeClip(GCPtr pGC, int type, void *pValue, int nRects)
|
|||
* current pixmap contents.
|
||||
*/
|
||||
pGC->clientClip = (*pGC->pScreen->BitmapToRegion) ((PixmapPtr) pValue);
|
||||
dixDestroyPixmap((PixmapPtr) pValue, 0);
|
||||
(*pGC->pScreen->DestroyPixmap) ((PixmapPtr) pValue);
|
||||
pValue = pGC->clientClip;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue