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:
Daniel van Vugt 2022-07-27 16:53:46 +08:00 committed by Marge Bot
parent f4416fa662
commit 5eb5ed54e8

View File

@ -734,6 +734,8 @@ do_paint_content (MetaShapedTexture *stex,
transforms.y_scale < 0.5)
{
paint_tex = select_texture_for_paint (stex, paint_context);
if (paint_tex != stex->texture)
min_filter = COGL_PIPELINE_FILTER_LINEAR_MIPMAP_NEAREST;
}
}