From 405b015fe255c75f91b0f3fe93f06bd14faee5a1 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 14 Nov 2011 14:05:10 +0000 Subject: [PATCH] sna: Be explicit in all sna_damage_contains_box() tests Clarify the exact in/out/maybe expected result when testing. Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 3b0f49d7..e0990c52 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -604,7 +604,7 @@ sna_drawable_move_region_to_cpu(DrawablePtr drawable, goto done; if (sna_damage_contains_box(priv->gpu_damage, - REGION_EXTENTS(NULL, region))) { + REGION_EXTENTS(NULL, region)) != PIXMAN_REGION_OUT) { DBG(("%s: region (%dx%d) intersects gpu damage\n", __FUNCTION__, region->extents.x2 - region->extents.x1,