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>
This commit is contained in:
parent
5d23149647
commit
405b015fe2
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue