shaped-texture: Remember to turn on mipmapping
It was accidentally lost in 877dc335
.
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2365
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2537>
This commit is contained in:
parent
f4416fa662
commit
5eb5ed54e8
@ -734,6 +734,8 @@ do_paint_content (MetaShapedTexture *stex,
|
|||||||
transforms.y_scale < 0.5)
|
transforms.y_scale < 0.5)
|
||||||
{
|
{
|
||||||
paint_tex = select_texture_for_paint (stex, paint_context);
|
paint_tex = select_texture_for_paint (stex, paint_context);
|
||||||
|
if (paint_tex != stex->texture)
|
||||||
|
min_filter = COGL_PIPELINE_FILTER_LINEAR_MIPMAP_NEAREST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user