mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
Merge branch 'fix/pixman_bilinear_scale' into 'master'
render/pixman: fix bilinear filtering to match gles2 renderer See merge request wlroots/wlroots!5326
This commit is contained in:
commit
c31b33b2e2
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ static void render_pass_add_texture(struct wlr_render_pass *wlr_pass,
|
||||||
|
|
||||||
switch (options->filter_mode) {
|
switch (options->filter_mode) {
|
||||||
case WLR_SCALE_FILTER_BILINEAR:
|
case WLR_SCALE_FILTER_BILINEAR:
|
||||||
|
pixman_image_set_repeat(texture->image, PIXMAN_REPEAT_PAD);
|
||||||
pixman_image_set_filter(texture->image, PIXMAN_FILTER_BILINEAR, NULL, 0);
|
pixman_image_set_filter(texture->image, PIXMAN_FILTER_BILINEAR, NULL, 0);
|
||||||
break;
|
break;
|
||||||
case WLR_SCALE_FILTER_NEAREST:
|
case WLR_SCALE_FILTER_NEAREST:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue