Merge pull request #85 from Salzian/disable-vsync-on-android

Disabled VSync on Android
This commit is contained in:
Schmarni
2024-04-09 16:30:27 +02:00
committed by GitHub

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")]