diff options
Diffstat (limited to 'src/sna/sna_damage.c')
-rw-r--r-- | src/sna/sna_damage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c index a870cbf5..73d94e1b 100644 --- a/src/sna/sna_damage.c +++ b/src/sna/sna_damage.c @@ -507,6 +507,7 @@ static void __sna_damage_reduce(struct sna_damage *damage) } else { pixman_region16_t tmp; + assert(n == nboxes); pixman_region_init_rects(&tmp, boxes, nboxes); pixman_region_subtract(region, region, &tmp); pixman_region_fini(&tmp); |