diff options
-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 74db52e4..16f0c4e7 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1208,7 +1208,7 @@ _sna_pixmap_move_to_cpu(PixmapPtr pixmap, unsigned int flags) priv->cpu = false; list_del(&priv->list); if (priv->cpu_bo) { - assert(priv->shm); + assert(!priv->shm); assert(!priv->cpu_bo->flush); sna_pixmap_free_cpu(sna, priv); } |