diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-14 14:05:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-14 14:06:49 +0000 |
commit | 405b015fe255c75f91b0f3fe93f06bd14faee5a1 (patch) | |
tree | c0d09e45322b337760d9655323e065fdfb9b95a2 /src | |
parent | 5d23149647b1645057dbd89087691e873494f763 (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |