mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
check drawable is available
This commit is contained in:
@@ -69,10 +69,13 @@ xglComposite (CARD8 op,
|
||||
|
||||
pPictureScreen = GetPictureScreen (pScreen);
|
||||
|
||||
if (!xglSyncBits (pSrc->pDrawable, NullBox))
|
||||
FatalError (XGL_SW_FAILURE_STRING);
|
||||
if (pSrc->pDrawable)
|
||||
{
|
||||
if (!xglSyncBits (pSrc->pDrawable, NullBox))
|
||||
FatalError (XGL_SW_FAILURE_STRING);
|
||||
}
|
||||
|
||||
if (pMask)
|
||||
if (pMask && pMask->pDrawable)
|
||||
{
|
||||
if (!xglSyncBits (pMask->pDrawable, NullBox))
|
||||
FatalError (XGL_SW_FAILURE_STRING);
|
||||
|
||||
Reference in New Issue
Block a user