diff options
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index fdf51ea5..1328c288 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -14385,6 +14385,8 @@ skip: if (sna->kgem.nbatch == unwind_batch + 8) { sna->kgem.nbatch = unwind_batch; sna->kgem.nreloc = unwind_reloc; + if (sna->kgem.nbatch == 0) + kgem_bo_undo(&sna->kgem, bo); } assert_pixmap_damage(pixmap); |