diff options
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_glyphs.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c index 2acc891f3..169763f76 100644 --- a/exa/exa_glyphs.c +++ b/exa/exa_glyphs.c @@ -871,12 +871,14 @@ exaGlyphs (CARD8 op, list++; } - if (maskFormat) - exaGlyphsToMask(pMask, &buffer); - else - exaGlyphsToDst(op, pSrc, pDst, &buffer, - xSrc, ySrc, xDst, yDst); - + if (buffer.count) { + if (maskFormat) + exaGlyphsToMask(pMask, &buffer); + else + exaGlyphsToDst(op, pSrc, pDst, &buffer, + xSrc, ySrc, xDst, yDst); + } + if (maskFormat) { x = extents.x1; |