From c538b6384b4cd71b9c567e4982b53184f8f7a153 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 1 Oct 2020 20:02:26 +0200 Subject: pixman: use ‘best’ filter when scaling image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 6f8192e..f52b8a9 100644 --- a/main.c +++ b/main.c @@ -97,6 +97,7 @@ render(struct output *output) pixman_f_transform_init_scale(&t, sx, sy); pixman_transform_from_pixman_f_transform(&t2, &t); pixman_image_set_transform(pix, &t2); + pixman_image_set_filter(pix, PIXMAN_FILTER_BEST, NULL, 0); pixman_image_composite32( PIXMAN_OP_SRC, -- cgit v1.2.3