check drawable is available
This commit is contained in:
parent
7fb521e80d
commit
ade104ce5a
|
@ -69,10 +69,13 @@ xglComposite (CARD8 op,
|
||||||
|
|
||||||
pPictureScreen = GetPictureScreen (pScreen);
|
pPictureScreen = GetPictureScreen (pScreen);
|
||||||
|
|
||||||
if (!xglSyncBits (pSrc->pDrawable, NullBox))
|
if (pSrc->pDrawable)
|
||||||
FatalError (XGL_SW_FAILURE_STRING);
|
{
|
||||||
|
if (!xglSyncBits (pSrc->pDrawable, NullBox))
|
||||||
|
FatalError (XGL_SW_FAILURE_STRING);
|
||||||
|
}
|
||||||
|
|
||||||
if (pMask)
|
if (pMask && pMask->pDrawable)
|
||||||
{
|
{
|
||||||
if (!xglSyncBits (pMask->pDrawable, NullBox))
|
if (!xglSyncBits (pMask->pDrawable, NullBox))
|
||||||
FatalError (XGL_SW_FAILURE_STRING);
|
FatalError (XGL_SW_FAILURE_STRING);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user