bevy/crates/bevy_winit/src
Cameron aeab690fdb
Change WinitPlugin defaults to limit game update rate when window is not visible (for real this time) (#11305)
# Objective

I goofed. #7611 forgot to change the default update modes set by the
`WinitPlugin`.


<ce5bae55f6/crates/bevy_winit/src/winit_config.rs (L53-L60)>


<ce5bae55f6/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.
2024-01-15 17:53:35 +00:00
..
accessibility.rs Use EntityHashMap whenever possible (#11353) 2024-01-15 15:51:17 +00:00
converters.rs Add window entity to TouchInput events (#11128) 2024-01-02 03:03:05 +00:00
lib.rs Fix Reactive and ReactiveLowPower update modes (#11325) 2024-01-15 15:46:11 +00:00
system.rs Use EntityHashMap whenever possible (#11353) 2024-01-15 15:51:17 +00:00
winit_config.rs Change WinitPlugin defaults to limit game update rate when window is not visible (for real this time) (#11305) 2024-01-15 17:53:35 +00:00
winit_windows.rs Use EntityHashMap whenever possible (#11353) 2024-01-15 15:51:17 +00:00