From: Mikko Rasa Date: Sat, 21 Sep 2013 17:09:09 +0000 (+0300) Subject: Remove a stray negation X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=245c16a330e7c0cec79f5f96120b51b47a295392;p=libs%2Fvr.git Remove a stray negation --- 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);