diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-01 20:02:26 +0200 |
---|---|---|
committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-01 20:02:26 +0200 |
commit | c538b6384b4cd71b9c567e4982b53184f8f7a153 (patch) | |
tree | 02742acbcccda595ec8ff5b55f5459d4994608d6 /main.c | |
parent | 71b866904bc64ed7813ed1948ec3254deacdfeb5 (diff) | |
download | wbg-c538b6384b4cd71b9c567e4982b53184f8f7a153.tar.gz |
pixman: use ‘best’ filter when scaling image
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |