mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
use linear minify filter
This commit is contained in:
parent
eaadf43821
commit
d9b4e20d70
|
@ -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