summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-08 13:45:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-08 13:45:32 +0200
commitac24092ba6df7460860099f8d73f4bb9f2455333 (patch)
treefbd7a6e114d4579c636c7ec161672a83d0def2d4 /tracker-rift-080
parent48503f483f29450eca0f5a33381e0b64ef509d80 (diff)
fix harmless msvc warnings
Diffstat (limited to 'tracker-rift-080')
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
index 4218511d..be18e90d 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
@@ -40,7 +40,8 @@ void rift_tracker_080::start_tracker(QFrame*)
ovrResult code;
ovrGraphicsLuid luid = {{0}};
- if (!OVR_SUCCESS(code = ovr_Initialize(nullptr)))
+ code = ovr_Initialize(nullptr);
+ if (!OVR_SUCCESS(code))
goto error;
code = ovr_Create(&hmd, &luid);