diff options
-rw-r--r-- | src/sna/sna_accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 133b0467..0116d548 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -262,8 +262,8 @@ pixmap_contains_damage(PixmapPtr pixmap, struct sna_damage *damage) assert(priv__->gpu_damage == NULL || priv__->gpu_bo); \ assert(priv__->gpu_bo == NULL || priv__->gpu_bo->refcnt); \ assert(priv__->cpu_bo == NULL || priv__->cpu_bo->refcnt); \ - assert(!pixmap_contains_damage(p, priv__->gpu_damage)); \ - assert(!pixmap_contains_damage(p, priv__->cpu_damage)); \ + assert(pixmap_contains_damage(p, priv__->gpu_damage)); \ + assert(pixmap_contains_damage(p, priv__->cpu_damage)); \ assert_pixmap_map(p, priv__); \ } \ } while (0) |