presets: default to nearest neighbour scaling for presets with unspecified filter
This commit is contained in:
parent
18e1f758cd
commit
6cb2859058
|
@ -73,10 +73,10 @@ pub enum ImageFormat {
|
|||
#[derive(Copy, Clone, Default, Debug, Eq, PartialEq, Hash)]
|
||||
/// The filtering mode for a texture sampler.
|
||||
pub enum FilterMode {
|
||||
#[default]
|
||||
/// Linear filtering.
|
||||
Linear = 0,
|
||||
|
||||
#[default]
|
||||
/// Nearest-neighbour (point) filtering.
|
||||
Nearest,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue