Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
WinitPlugin
defaults to limit game update rate when window …
…is not visible (for real this time) (bevyengine#11305) # Objective I goofed. bevyengine#7611 forgot to change the default update modes set by the `WinitPlugin`. <https://github.com/bevyengine/bevy/blob/ce5bae55f64bb095e1516427a706a2622ccf2d23/crates/bevy_winit/src/winit_config.rs#L53-L60> <https://github.com/bevyengine/bevy/blob/ce5bae55f64bb095e1516427a706a2622ccf2d23/crates/bevy_winit/src/lib.rs#L127> ## Solution Change `Default` impl for `WinitSettings` to return the `game` settings that limit FPS when the app runs in the background.
- Loading branch information