From 6cb28590585cd8989a995b2f93b2205ae4734663 Mon Sep 17 00:00:00 2001 From: chyyran Date: Mon, 30 Jan 2023 19:30:47 -0500 Subject: [PATCH] presets: default to nearest neighbour scaling for presets with unspecified filter --- librashader-common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librashader-common/src/lib.rs b/librashader-common/src/lib.rs index dbe26a0..3ed9acd 100644 --- a/librashader-common/src/lib.rs +++ b/librashader-common/src/lib.rs @@ -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, }