use linear minify filter

This commit is contained in:
griffi-gh 2024-03-25 02:25:46 +01:00
parent 36e6fc50ec
commit af0bf04ffc

View file

@ -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()
}),