From 76eb94203696bc942cddd6d0fd829d5cbb734de3 Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Mon, 23 Oct 2023 09:20:18 -0400 Subject: [PATCH] Rename created_windows_query to avoid ambiguity --- crates/bevy_winit/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index b55f3931a20b5..b9e08dedb7814 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -371,7 +371,7 @@ pub fn winit_runner(mut app: App) { #[cfg(not(target_arch = "wasm32"))] let ( commands, - mut windows, + mut created_windows_query, event_writer, winit_windows, adapters, @@ -382,7 +382,7 @@ pub fn winit_runner(mut app: App) { #[cfg(target_arch = "wasm32")] let ( commands, - mut windows, + mut created_windows_query, event_writer, winit_windows, adapters, @@ -394,7 +394,7 @@ pub fn winit_runner(mut app: App) { create_windows( event_loop, commands, - windows.iter_mut(), + created_windows_query.iter_mut(), event_writer, winit_windows, adapters, @@ -761,7 +761,7 @@ pub fn winit_runner(mut app: App) { #[cfg(not(target_arch = "wasm32"))] let ( commands, - mut windows, + mut created_windows_query, event_writer, winit_windows, adapters, @@ -772,7 +772,7 @@ pub fn winit_runner(mut app: App) { #[cfg(target_arch = "wasm32")] let ( commands, - mut windows, + mut created_windows_query, event_writer, winit_windows, adapters, @@ -784,7 +784,7 @@ pub fn winit_runner(mut app: App) { create_windows( event_loop, commands, - windows.iter_mut(), + created_windows_query.iter_mut(), event_writer, winit_windows, adapters,