from davidr's tree if source picture defined return

This commit is contained in:
Dave Airlie 2005-12-23 01:49:21 +00:00
parent c59508566f
commit c88a3145d0

View File

@ -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;