From d0d07108b7db4536ec12a45d5b7633b1abb22f60 Mon Sep 17 00:00:00 2001 From: Connor Behan Date: Tue, 25 Aug 2015 23:32:29 -0400 Subject: Fix GX composite hooks These need to fallback for solid and gradient pictures. Signed-off-by: Connor Behan --- src/gx_accel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gx_accel.c b/src/gx_accel.c index c3b3bc4..2e02a50 100644 --- a/src/gx_accel.c +++ b/src/gx_accel.c @@ -1740,6 +1740,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; -- cgit v1.2.3