from davidr's tree if source picture defined return
This commit is contained in:
parent
c59508566f
commit
c88a3145d0
|
@ -78,6 +78,9 @@ xglComp (CARD8 op,
|
|||
if (op >= NUM_XGL_OPERATORS)
|
||||
return FALSE;
|
||||
|
||||
if (pSrc->pSourcePict)
|
||||
return FALSE;
|
||||
|
||||
if (pSrc->pDrawable->type != DRAWABLE_PIXMAP)
|
||||
return FALSE;
|
||||
|
||||
|
@ -86,6 +89,8 @@ xglComp (CARD8 op,
|
|||
|
||||
if (pMask)
|
||||
{
|
||||
if (pMask->pSourcePict)
|
||||
return FALSE;
|
||||
if (pMask->pDrawable->type != DRAWABLE_PIXMAP)
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user