diff options
-rw-r--r-- | src/sna/gen3_render.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index 17b114de..3313e3e2 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -5774,8 +5774,7 @@ gen3_render_copy(struct sna *sna, uint8_t alu, #endif /* Prefer to use the BLT */ - if (sna->kgem.mode != KGEM_RENDER && - sna_blt_compare_depth(&src->drawable, &dst->drawable) && + if (sna_blt_compare_depth(&src->drawable, &dst->drawable) && sna_blt_copy(sna, alu, src_bo, dst_bo, dst->drawable.bitsPerPixel, |