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)
|
if (op >= NUM_XGL_OPERATORS)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (pSrc->pSourcePict)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (pSrc->pDrawable->type != DRAWABLE_PIXMAP)
|
if (pSrc->pDrawable->type != DRAWABLE_PIXMAP)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@ -86,6 +89,8 @@ xglComp (CARD8 op,
|
||||||
|
|
||||||
if (pMask)
|
if (pMask)
|
||||||
{
|
{
|
||||||
|
if (pMask->pSourcePict)
|
||||||
|
return FALSE;
|
||||||
if (pMask->pDrawable->type != DRAWABLE_PIXMAP)
|
if (pMask->pDrawable->type != DRAWABLE_PIXMAP)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue