summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.cpp')
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
index ea268f12..be0ee689 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
@@ -40,7 +40,7 @@ void Rift_Tracker::GetHeadPoseData(double *data)
ovrHSWDisplayState hsw;
if (ovrHmd_GetHSWDisplayState(hmd, &hsw), hsw.Displayed)
ovrHmd_DismissHSWDisplay(hmd);
- ovrTrackingState ss = ovrHmd_GetTrackingState(hmd, frameTiming.ScanoutMidpointSeconds);
+ ovrTrackingState ss = ovrHmd_GetTrackingState(hmd, 0);
if(ss.StatusFlags & ovrStatus_OrientationTracked) {
auto pose = ss.HeadPose.ThePose;
Quatf quat = pose.Orientation;