summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080/ftnoir_tracker_rift_080.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rift-080/ftnoir_tracker_rift_080.cpp')
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
index 889ac8c3..ea77b6d1 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
@@ -21,11 +21,8 @@ Rift_Tracker::~Rift_Tracker()
void Rift_Tracker::start_tracker(QFrame*)
{
- {
- ovrInitParams args = {0};
- if (!OVR_SUCCESS(ovr_Initialize(&args)))
- goto error;
- }
+ if (!OVR_SUCCESS(ovr_Initialize(nullptr)))
+ goto error;
{
ovrGraphicsLuid luid = {0};
ovrResult res = ovr_Create(&hmd, &luid);