From 8eb02ce3305737da19438c2158ae61487420ae11 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Thu, 18 May 2023 15:45:44 -0700 Subject: [PATCH] Suppress one more warning in wasm case --- examples/with_winit/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/with_winit/src/lib.rs b/examples/with_winit/src/lib.rs index 5bbf5fa..5ae943b 100644 --- a/examples/with_winit/src/lib.rs +++ b/examples/with_winit/src/lib.rs @@ -100,6 +100,8 @@ fn run( let mut images = ImageCache::new(); let mut stats = stats::Stats::new(); let mut stats_shown = true; + // Currently not updated in wasm builds + #[allow(unused_mut)] let mut scene_complexity: Option = None; let mut complexity_shown = false; let mut vsync_on = true;