render: no need to blend fully opaque sixel images - just blit them

This commit is contained in:
Daniel Eklöf 2021-04-14 11:09:02 +02:00
parent 4cb8172373
commit 6332ed487d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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,