diff --git a/exa/exa_render.c b/exa/exa_render.c index 50a9a659e..eac720b91 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -290,7 +290,7 @@ exaTryDriverSolidFill(PicturePtr pSrc, pSrcPix = exaGetDrawablePixmap(pSrc->pDrawable); pixel = exaGetPixmapFirstPixel(pSrcPix); } - else + else if (pSrc->pFormat && ((PICT_FORMAT_COLOR(pSrc->pFormat->type) || PICT_FORMAT_TYPE(pSrc->pFormat->type) == PICT_TYPE_A))) miRenderColorToPixel(pSrc->pFormat, &pSrc->pSourcePict->solidFill.fullcolor, &pixel);