summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-11 13:59:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-11 13:59:46 +0100
commite1a4438f074f9cd5eba946cc1172c419c31b03c9 (patch)
tree99b4b1fbff428baf2c4145bf8fdb9c783c6379c2
parent040eccb9b10d0941c7d81fc9c66c259563370f2a (diff)
sna/glyphs: Always print some DBG when performing fallback
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_glyphs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c
index 93aac341..5d8dd782 100644
--- a/src/sna/sna_glyphs.c
+++ b/src/sna/sna_glyphs.c
@@ -1602,14 +1602,14 @@ glyphs_fallback(CARD8 op,
int x, y, n;
glyph_extents(nlist, list, glyphs, &region.extents);
- if (region.extents.x2 <= region.extents.x1 ||
- region.extents.y2 <= region.extents.y1)
- return;
-
DBG(("%s: (%d, %d), (%d, %d)\n", __FUNCTION__,
region.extents.x1, region.extents.y1,
region.extents.x2, region.extents.y2));
+ if (region.extents.x2 <= region.extents.x1 ||
+ region.extents.y2 <= region.extents.y1)
+ return;
+
region.data = NULL;
RegionTranslate(&region, dst->pDrawable->x, dst->pDrawable->y);
RegionIntersect(&region, &region, dst->pCompositeClip);