mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-28 09:58:41 -06:00
use linear minify filter
This commit is contained in:
parent
36e6fc50ec
commit
af0bf04ffc
|
@ -183,7 +183,7 @@ impl GliumUiRenderer {
|
||||||
tex: Sampler(self.ui_texture.as_ref().unwrap(), SamplerBehavior {
|
tex: Sampler(self.ui_texture.as_ref().unwrap(), SamplerBehavior {
|
||||||
max_anisotropy: 1,
|
max_anisotropy: 1,
|
||||||
magnify_filter: MagnifySamplerFilter::Nearest,
|
magnify_filter: MagnifySamplerFilter::Nearest,
|
||||||
minify_filter: MinifySamplerFilter::NearestMipmapNearest,
|
minify_filter: MinifySamplerFilter::Linear,
|
||||||
wrap_function: (SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp),
|
wrap_function: (SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp, SamplerWrapFunction::Clamp),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue