From c6ab6000c609f24cba967d6c000e1eebbea68ad2 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 16 Mar 2024 16:35:39 +0100 Subject: [PATCH] disable aliasing --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ead12df..2b18f0d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ fn main() { asset_loaded.after(load_cubemap_asset), handle_input )) - .add_plugins((DefaultPlugins, )) + .add_plugins(DefaultPlugins.set(ImagePlugin::default_nearest())) .run(); }