Disabled vsync

This commit is contained in:
Salzian
2024-03-31 00:56:24 +01:00
parent c6d0686708
commit 38a92cbe12

View File

@@ -316,7 +316,10 @@ impl PluginGroup for DefaultXrPlugins {
..default() ..default()
}), }),
#[cfg(target_os = "android")] #[cfg(target_os = "android")]
primary_window: None, // ? primary_window: Some(Window {
present_mode: PresentMode::AutoNoVsync,
..default()
}),
#[cfg(target_os = "android")] #[cfg(target_os = "android")]
exit_condition: bevy::window::ExitCondition::DontExit, exit_condition: bevy::window::ExitCondition::DontExit,
#[cfg(target_os = "android")] #[cfg(target_os = "android")]