From 6332ed487ddd8ee06aaf31b8ff3071ede6bdefcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 14 Apr 2021 11:09:02 +0200 Subject: [PATCH] render: no need to blend fully opaque sixel images - just blit them --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 944d24b2..495c12a6 100644 --- a/render.c +++ b/render.c @@ -935,7 +935,7 @@ render_sixel_chunk(struct terminal *term, pixman_image_t *pix, const struct sixe //LOG_DBG("sixel chunk: %dx%d %dx%d", x, y, width, height); pixman_image_composite32( - PIXMAN_OP_OVER, + sixel->opaque ? PIXMAN_OP_SRC : PIXMAN_OP_OVER, sixel->pix, NULL, pix,