From 245c16a330e7c0cec79f5f96120b51b47a295392 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 21 Sep 2013 20:09:09 +0300 Subject: [PATCH] Remove a stray negation --- source/oculusriftdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/oculusriftdevice.cpp b/source/oculusriftdevice.cpp index f0cccc7..5f752df 100644 --- a/source/oculusriftdevice.cpp +++ b/source/oculusriftdevice.cpp @@ -35,7 +35,7 @@ OculusRiftCombiner *OculusRiftDevice::create_combiner() const OculusRiftCombiner *combiner = new OculusRiftCombiner; OVR::HMDInfo info; - if(!priv->ovr_hmd->GetDeviceInfo(&info)) + if(priv->ovr_hmd->GetDeviceInfo(&info)) { combiner->set_view_distance(info.EyeToScreenDistance/info.HScreenSize); combiner->set_lens_separation(info.LensSeparationDistance/info.HScreenSize); -- 2.45.2