summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Behan <connor.behan@gmail.com>2015-08-25 23:32:29 -0400
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2015-08-26 18:48:56 +0300
commitd0d07108b7db4536ec12a45d5b7633b1abb22f60 (patch)
treee7f657ca25de7c03cc7ade2f86ee2703dee1c496
parentfc5d97e06c922de929017f676a58adf741770bc7 (diff)
Fix GX composite hooks
These need to fallback for solid and gradient pictures. Signed-off-by: Connor Behan <connor.behan@gmail.com>
-rw-r--r--src/gx_accel.c1
1 files changed, 1 insertions, 0 deletions
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;