diff options
-rw-r--r-- | src/sna/sna_accel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index f77b4c60..70211eb0 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -4602,6 +4602,10 @@ try_upload_tiled_x(PixmapPtr pixmap, RegionRec *region, kgem_bo_can_map__cpu(&sna->kgem, priv->gpu_bo, true))); sna_pixmap_free_gpu(sna, priv); ignore_cpu = priv->cpu_damage == NULL; + if (priv->ptr) + sna_damage_all(&priv->cpu_damage, + pixmap->drawable.width, + pixmap->drawable.height); } } |