diff options
-rw-r--r-- | src/sna/sna_render.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 3fbb9ecb..92c5afcc 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -2336,6 +2336,9 @@ memcpy_copy_boxes(struct sna *sna, uint8_t op, if (op != GXcopy) return false; + if (src_draw->depth != dst_draw->depth) + return false; + clipped = (n > 1 || box->x1 + dx > 0 || box->y1 + dy > 0 || |