These need to fallback for solid and gradient pictures.

Signed-off-by: Connor Behan <[email protected]>
---
 src/gx_accel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gx_accel.c b/src/gx_accel.c
index 48587f2..87d9a72 100644
--- a/src/gx_accel.c
+++ b/src/gx_accel.c
@@ -1710,6 +1710,7 @@ amd_gx_exa_PrepareComposite(int op, PicturePtr pSrc, 
PicturePtr pMsk,
                             PixmapPtr pxDst)
 {
     int srcPitch;
+    if (!pxSrc || !pSrc->pDrawable) return FALSE;
 
     GeodeRec *pGeode = GEODEPTR_FROM_PIXMAP(pxDst);
     amd_gx_exa_fmt_t *sfp, *dfp;
-- 
2.5.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to