Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/tools/example-showcase/remove-desktop-app-mode.patch
6595 views
1
diff --git a/crates/bevy_winit/src/winit_config.rs b/crates/bevy_winit/src/winit_config.rs
2
index 104384086..6e3c8dd83 100644
3
--- a/crates/bevy_winit/src/winit_config.rs
4
+++ b/crates/bevy_winit/src/winit_config.rs
5
@@ -29,10 +29,7 @@ impl WinitSettings {
6
///
7
/// Use the [`EventLoopProxy`](crate::EventLoopProxy) to request a redraw from outside bevy.
8
pub fn desktop_app() -> Self {
9
- WinitSettings {
10
- focused_mode: UpdateMode::reactive(Duration::from_secs(5)),
11
- unfocused_mode: UpdateMode::reactive_low_power(Duration::from_secs(60)),
12
- }
13
+ Self::default()
14
}
15
16
/// Default settings for mobile.
17
18