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:
parent
6adeba1730
commit
526f40434c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue