From 0424a2802aec3600774ba9347c49312bb09b8cfe Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 1 Nov 2015 11:28:17 +0100 Subject: all: adjust options.hpp move to compat --- tracker-rift-080/ftnoir_tracker_rift_080.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-rift-080') 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 -#include "opentrack/options.hpp" +#include "opentrack-compat/options.hpp" using namespace options; struct settings : opts { -- cgit v1.2.3 From 014e021d36e1096f17d999f42e64e89d3ffd3f01 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 1 Nov 2015 11:29:34 +0100 Subject: ovr: pass -Wall -Wextra -pedantic --- tracker-rift-080/ftnoir_tracker_rift_080.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tracker-rift-080') 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); -- cgit v1.2.3