From d9b4e20d7029a019bc2277b3a4efa4b09cb832b2 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 25 Mar 2024 02:25:46 +0100 Subject: [PATCH] use linear minify filter --- hui-glium/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui-glium/src/lib.rs b/hui-glium/src/lib.rs index a33456e..6ce47b1 100644 --- a/hui-glium/src/lib.rs +++ b/hui-glium/src/lib.rs @@ -183,7 +183,7 @@ impl GliumUiRenderer { tex: Sampler(self.ui_texture.as_ref().unwrap(), SamplerBehavior { max_anisotropy: 1, magnify_filter: MagnifySamplerFilter::Nearest, - minify_filter: MinifySamplerFilter::NearestMipmapNearest, + minify_filter: MinifySamplerFilter::Linear, wrap_function: (SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp), ..Default::default() }),