presets: default to nearest neighbour scaling for presets with unspecified filter

This commit is contained in:
chyyran 2023-01-30 19:30:47 -05:00
parent 18e1f758cd
commit 6cb2859058

View file

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