summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen7_render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 9e7683eb..f393bf6c 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -3369,8 +3369,7 @@ gen7_render_copy_boxes(struct sna *sna, uint8_t alu,
box, n))
return true;
- if ((too_large(dst->drawable.width, dst->drawable.height) ||
- too_large(src->drawable.width, src->drawable.height)) &&
+ if (too_large(dst->drawable.width, dst->drawable.height) ||
sna_blt_compare_depth(&src->drawable, &dst->drawable)) {
BoxRec extents = box[0];
int i;