Skip to content

Commit

Permalink
Merge pull request #85 from Salzian/disable-vsync-on-android
Browse files Browse the repository at this point in the history
Disabled VSync on Android
  • Loading branch information
Schmarni-Dev authored Apr 9, 2024
2 parents 94f1f9d + e6d1a6d commit da1082a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ impl PluginGroup for DefaultXrPlugins {
..default()
}),
#[cfg(target_os = "android")]
primary_window: None, // ?
primary_window: Some(Window {
present_mode: PresentMode::AutoNoVsync,
..default()
}),
#[cfg(target_os = "android")]
exit_condition: bevy::window::ExitCondition::DontExit,
#[cfg(target_os = "android")]
Expand Down

0 comments on commit da1082a

Please sign in to comment.