Skip to content

Commit

Permalink
Disabled vsync
Browse files Browse the repository at this point in the history
  • Loading branch information
Salzian committed Mar 30, 2024
1 parent c6d0686 commit 38a92cb
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 38a92cb

Please sign in to comment.