Commit aeab690
authored
Change
# Objective
I goofed. #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.WinitPlugin defaults to limit game update rate when window is not visible (for real this time) (#11305)1 parent 839d2f8 commit aeab690
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
| |||
0 commit comments