From 08b68f768a504cedb59ded8b00b9f953416ee81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 1 Jun 2024 21:46:54 +0200 Subject: [PATCH] update patch --- tools/example-showcase/extra-window-resized-events.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/example-showcase/extra-window-resized-events.patch b/tools/example-showcase/extra-window-resized-events.patch index c73d686aa6506..71fe860356cad 100644 --- a/tools/example-showcase/extra-window-resized-events.patch +++ b/tools/example-showcase/extra-window-resized-events.patch @@ -1,8 +1,8 @@ diff --git a/crates/bevy_winit/src/state.rs b/crates/bevy_winit/src/state.rs -index c256f5492..ae065111b 100644 +index df0aab42d..6e28a6e9c 100644 --- a/crates/bevy_winit/src/state.rs +++ b/crates/bevy_winit/src/state.rs -@@ -198,6 +198,12 @@ impl ApplicationHandler for WinitAppRunnerState { +@@ -208,6 +208,12 @@ impl ApplicationHandler for WinitAppRunnerState { } } @@ -14,4 +14,4 @@ index c256f5492..ae065111b 100644 + match event { WindowEvent::Resized(size) => { - react_to_resize(&mut win, size, &mut window_resized, window); + react_to_resize(window, &mut win, size, &mut window_resized);