This commit is contained in:
Schmarni
2024-01-23 05:45:48 +01:00
parent 87fe9093df
commit 6f6948e627
9 changed files with 264 additions and 630 deletions

View File

@@ -103,7 +103,7 @@ pub fn try_full_init(
)> {
let mut system_state: SystemState<Query<&RawHandleWrapper, With<PrimaryWindow>>> =
SystemState::new(world);
let primary_window = system_state.get(&world).get_single().ok().cloned();
let primary_window = system_state.get(world).get_single().ok().cloned();
let (
xr_instance,
setup_info,