The separate flag no longer exists as of SDK 0.5.0.
void create_distortion_mesh(Msp::GL::Mesh &mesh, ovrHmd hmd, ovrEyeType eye, const ovrFovPort &fov)
{
ovrDistortionMesh ovr_mesh;
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<ovr_mesh.VertexCount; ++i)
Msp::GL::MeshBuilder bld(mesh);
for(unsigned i=0; i<ovr_mesh.VertexCount; ++i)