Skip to content

Commit

Permalink
make it 60Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
maniwani committed Aug 2, 2023
1 parent 691e41a commit ad6daeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_winit/src/winit_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl WinitSettings {
WinitSettings {
focused_mode: UpdateMode::Continuous,
unfocused_mode: UpdateMode::ReactiveLowPower {
wait: Duration::from_millis(50), // 20Hz
wait: Duration::from_secs_f64(1.0 / 60.0), // 60Hz
},
..Default::default()
}
Expand Down

0 comments on commit ad6daeb

Please sign in to comment.