Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add patch to fix desktop mode patch (#22)
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/tools/example-showcase/remove-desktop-app-mode.patch b/tools/example-showcase/remove-desktop-app-mode.patch | ||
index 5db785410..7551ce3dc 100644 | ||
--- a/tools/example-showcase/remove-desktop-app-mode.patch | ||
+++ b/tools/example-showcase/remove-desktop-app-mode.patch | ||
@@ -1,10 +1,10 @@ | ||
diff --git a/crates/bevy_winit/src/winit_config.rs b/crates/bevy_winit/src/winit_config.rs | ||
-index b91e25d34..48f19b708 100644 | ||
+index f2cb424ec..e68e01de0 100644 | ||
--- a/crates/bevy_winit/src/winit_config.rs | ||
+++ b/crates/bevy_winit/src/winit_config.rs | ||
-@@ -29,14 +29,7 @@ impl WinitSettings { | ||
- /// [`Reactive`](UpdateMode::Reactive) if windows have focus, | ||
- /// [`ReactiveLowPower`](UpdateMode::ReactiveLowPower) otherwise. | ||
+@@ -31,14 +31,7 @@ impl WinitSettings { | ||
+ /// | ||
+ /// Use the [`EventLoopProxy`](crate::EventLoopProxy) to request a redraw from outside bevy. | ||
pub fn desktop_app() -> Self { | ||
- WinitSettings { | ||
- focused_mode: UpdateMode::Reactive { |