Remove a stray negation
authorMikko Rasa <tdb@tdb.fi>
Sat, 21 Sep 2013 17:09:09 +0000 (20:09 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 21 Sep 2013 17:09:09 +0000 (20:09 +0300)
source/oculusriftdevice.cpp

index f0cccc75828d0a3035db34c0813c19dbae310ff8..5f752df1a0d0b279b55a646c239ffbafc3581e8a 100644 (file)
@@ -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);