mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
NULL is not a valid argument to CreatePicture, please use serverClient
as the client argument if no real client is creating the object.
This commit is contained in:
@@ -463,7 +463,8 @@ xglCreateSolidAlphaPicture (ScreenPtr pScreen)
|
||||
|
||||
tmpval[0] = xTrue;
|
||||
pScreenPriv->pSolidAlpha = CreatePicture (0, &pPixmap->drawable, pFormat,
|
||||
CPRepeat, tmpval, 0, &error);
|
||||
CPRepeat, tmpval,
|
||||
serverClient, &error);
|
||||
(*pScreen->DestroyPixmap) (pPixmap);
|
||||
|
||||
if (pScreenPriv->pSolidAlpha)
|
||||
|
||||
@@ -158,7 +158,7 @@ miCompositeRects (CARD8 op,
|
||||
|
||||
tmpval[0] = xTrue;
|
||||
pSrc = CreatePicture (0, &pPixmap->drawable, rgbaFormat,
|
||||
CPRepeat, tmpval, 0, &error);
|
||||
CPRepeat, tmpval, serverClient, &error);
|
||||
|
||||
if (!pSrc)
|
||||
goto bail4;
|
||||
|
||||
Reference in New Issue
Block a user