summaryrefslogtreecommitdiff
path: root/src/sna/sna_glyphs.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-25 10:02:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-25 10:02:02 +0100
commit4fd46b8bb7e7a104a0afa0e5dee92993e043ef57 (patch)
tree3edc6dcec2598e1c7a4ffde18c5fb6f221764a7e /src/sna/sna_glyphs.c
parent5154e281ed66334a8ff6342236c1203a1e4ac5a3 (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.c2
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,