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();