diff options
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 4f204f1b..4d6c7988 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -6381,6 +6381,8 @@ sna_copy_plane_blt(DrawablePtr source, DrawablePtr drawable, GCPtr gc, } while (--bh); break; } + default: + assert(0); case 8: { uint8_t *src = src_pixmap->devPrivate.ptr; @@ -6414,9 +6416,6 @@ sna_copy_plane_blt(DrawablePtr source, DrawablePtr drawable, GCPtr gc, } while (--bh); break; } - default: - assert(0); - return; } b = sna->kgem.batch + sna->kgem.nbatch; |