From 5eb5ed54e84d4fb331dcb3ecca560378ca11d012 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Wed, 27 Jul 2022 16:53:46 +0800 Subject: [PATCH] shaped-texture: Remember to turn on mipmapping It was accidentally lost in 877dc335. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2365 Part-of: --- src/compositor/meta-shaped-texture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 10e11d57c..467509d14 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -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; } }