summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rift-080')
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.cpp7
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.h2
2 files changed, 3 insertions, 6 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);
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.h b/tracker-rift-080/ftnoir_tracker_rift_080.h
index 08684dd2..879d31d2 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.h
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.h
@@ -6,7 +6,7 @@
#include "opentrack/plugin-api.hpp"
#include "OVR.h"
#include <memory>
-#include "opentrack/options.hpp"
+#include "opentrack-compat/options.hpp"
using namespace options;
struct settings : opts {