summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 11:29:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 11:29:34 +0100
commit014e021d36e1096f17d999f42e64e89d3ffd3f01 (patch)
tree90629b8fff9a577047704b7e597061e1e6c74587 /tracker-rift-080
parentbe36337e46218c6f843a478036497a3f494502ed (diff)
ovr: pass -Wall -Wextra -pedantic
Diffstat (limited to 'tracker-rift-080')
-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);