diff --git a/hw/xgl/xglcomp.c b/hw/xgl/xglcomp.c index 3d153f34c..a84efa4b6 100644 --- a/hw/xgl/xglcomp.c +++ b/hw/xgl/xglcomp.c @@ -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;