Revert "glx: use dixDestroyPixmap() instead of direct driver call"
This reverts commit 69837185c0
.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
parent
8b47b53226
commit
23dcedf8ba
|
@ -1391,7 +1391,7 @@ DoCreatePbuffer(ClientPtr client, int screenNum, XID fbconfigId,
|
||||||
err = XaceHookResourceAccess(client, glxDrawableId, X11_RESTYPE_PIXMAP,
|
err = XaceHookResourceAccess(client, glxDrawableId, X11_RESTYPE_PIXMAP,
|
||||||
pPixmap, X11_RESTYPE_NONE, NULL, DixCreateAccess);
|
pPixmap, X11_RESTYPE_NONE, NULL, DixCreateAccess);
|
||||||
if (err != Success) {
|
if (err != Success) {
|
||||||
dixDestroyPixmap(pPixmap, 0);
|
(*pGlxScreen->pScreen->DestroyPixmap) (pPixmap);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue