mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-18 00:42:40 +00:00
from davidr's tree if source picture defined return
This commit is contained in:
parent
c59508566f
commit
c88a3145d0
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue