OpenXR sync actions before updating controllers

This commit is contained in:
Lubos 2022-05-07 11:32:11 +02:00
parent 027a7e96c3
commit 7e6aa6dab8

View file

@ -386,8 +386,8 @@ void VR_DrawFrame( engine_t* engine ) {
// Update HMD and controllers
XrPosef xfStageFromHead = IN_VRUpdateHMD( frameState.predictedDisplayTime );
IN_VRUpdateControllers( frameState.predictedDisplayTime );
IN_VRSyncActions();
IN_VRUpdateControllers( frameState.predictedDisplayTime );
XrViewLocateInfo projectionInfo = {};
projectionInfo.type = XR_TYPE_VIEW_LOCATE_INFO;