diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-25 10:02:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-25 10:02:02 +0100 |
commit | 4fd46b8bb7e7a104a0afa0e5dee92993e043ef57 (patch) | |
tree | 3edc6dcec2598e1c7a4ffde18c5fb6f221764a7e /src/sna/sna_glyphs.c | |
parent | 5154e281ed66334a8ff6342236c1203a1e4ac5a3 (diff) |
sna/glyphs: Add glyphs directly onto a client temporary buffer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_glyphs.c')
-rw-r--r-- | src/sna/sna_glyphs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c index 0f0dc09f..4db5bafb 100644 --- a/src/sna/sna_glyphs.c +++ b/src/sna/sna_glyphs.c @@ -1139,7 +1139,7 @@ sna_glyphs(CARD8 op, /* XXX discard the mask for non-overlapping glyphs? */ - if (!mask) { + if (!mask || (op == PictOpAdd && dst->format == mask->format)) { if (glyphs_to_dst(sna, op, src, dst, src_x, src_y, |