Skip to content

Commit

Permalink
utils/ui: use bilinear filter
Browse files Browse the repository at this point in the history
It looks better. (Still not good.)

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Nov 8, 2024
1 parent b3488e4 commit 78d8679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ bool ui_message_box_show(struct ui *ui, struct x_connection *c,
return false;
}

const char filter_name[] = "nearest";
const char filter_name[] = "bilinear";
if (!XCB_AWAIT_VOID(xcb_render_set_picture_filter, c->c, content_picture,
ARR_SIZE(filter_name) - 1, filter_name, 0, NULL)) {
return false;
Expand Down

0 comments on commit 78d8679

Please sign in to comment.