From 4de91ef20b4297003e69bc87e35746138b1ceb4b Mon Sep 17 00:00:00 2001 From: Schmarni Date: Fri, 31 Oct 2025 08:07:03 +0100 Subject: [PATCH] fix: improve xr input accuracy Signed-off-by: Schmarni --- src/main.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index 110e175..91e5520 100644 --- a/src/main.rs +++ b/src/main.rs @@ -488,13 +488,6 @@ fn cam_settings( } fn xr_step(world: &mut World) { - // we are targeting the frame after the wait - if let Some(mut state) = world.get_resource_mut::() { - state.predicted_display_time = openxr::Time::from_nanos( - state.predicted_display_time.as_nanos() + state.predicted_display_period.as_nanos(), - ); - } - // update things like the Xr input methods world.run_schedule(PreFrameWait); input::process_input();