summaryrefslogtreecommitdiff
path: root/src/sna/sna_trapezoids.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-06 14:11:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-06 16:43:24 +0100
commit0da5cc23b18d4e2473a3b6a571fb49d08bb1dd2d (patch)
tree49a6a356fa6221cd2c0dac254cd14c191f13626b /src/sna/sna_trapezoids.c
parent2770655371954413c750b030c9a7135baee302d4 (diff)
sna: Fix format specifier for mismatching int/long in DBG
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r--src/sna/sna_trapezoids.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 5af7d418..e07ff2cd 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -100,8 +100,11 @@ static void _assert_pixmap_contains_box(PixmapPtr pixmap, BoxPtr box, const char
static void apply_damage(struct sna_composite_op *op, RegionPtr region)
{
- DBG(("%s: damage=%p, region=%d\n",
- __FUNCTION__, op->damage, REGION_NUM_RECTS(region)));
+ DBG(("%s: damage=%p, region=%ldx[(%d, %d), (%d, %d)]\n",
+ __FUNCTION__, op->damage,
+ REGION_NUM_RECTS(region),
+ region->extents.x1, region->extents.y1,
+ region->extents.x2, region->extents.y2));
if (op->damage == NULL)
return;