From: Mikko Rasa Date: Sun, 21 Feb 2016 15:44:56 +0000 (+0200) Subject: Chromatic aberration correction is always included in distortion X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=8d1197440f07062a1020d902619ae8e9a494baa0;p=libs%2Fvr.git Chromatic aberration correction is always included in distortion The separate flag no longer exists as of SDK 0.5.0. --- diff --git a/source/oculusriftcombiner.cpp b/source/oculusriftcombiner.cpp index 0cfd4ae..0d883fa 100644 --- a/source/oculusriftcombiner.cpp +++ b/source/oculusriftcombiner.cpp @@ -51,7 +51,7 @@ const char fs_source[] = void create_distortion_mesh(Msp::GL::Mesh &mesh, ovrHmd hmd, ovrEyeType eye, const ovrFovPort &fov) { ovrDistortionMesh ovr_mesh; - ovrHmd_CreateDistortionMesh(hmd, eye, fov, ovrDistortionCap_Chromatic|ovrDistortionCap_Vignette|ovrDistortionCap_TimeWarp, &ovr_mesh); + ovrHmd_CreateDistortionMesh(hmd, eye, fov, ovrDistortionCap_Vignette|ovrDistortionCap_TimeWarp, &ovr_mesh); Msp::GL::MeshBuilder bld(mesh); for(unsigned i=0; i