# HG changeset patch # User John Tsiombikas # Date 1427957461 -10800 # Node ID 21067f4802dda22f96bb88212de554c50aa199ba # Parent 9ee3ab70ca6b3c7628e16beb59f03b2a0aad42c8 build with OVR 0.5.0.1 diff -r 9ee3ab70ca6b -r 21067f4802dd src/main.c --- a/src/main.c Thu Apr 02 05:57:41 2015 +0300 +++ b/src/main.c Thu Apr 02 09:51:01 2015 +0300 @@ -89,7 +89,7 @@ unsigned int flags; /* libovr must be initialized before we create the OpenGL context */ - ovr_Initialize(); + ovr_Initialize(0); SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER); @@ -180,12 +180,11 @@ hmd_caps = ovrHmdCap_LowPersistence | ovrHmdCap_DynamicPrediction; ovrHmd_SetEnabledCaps(hmd, hmd_caps); - /* configure SDK-rendering and enable chromatic abberation correction, vignetting, and - * timewrap, which shifts the image before drawing to counter any lattency between the call + /* configure SDK-rendering and enable OLED overdrive and timewrap, which + * shifts the image before drawing to counter any lattency between the call * to ovrHmd_GetEyePose and ovrHmd_EndFrame. */ - distort_caps = ovrDistortionCap_Chromatic | ovrDistortionCap_TimeWarp | - ovrDistortionCap_Overdrive; + distort_caps = ovrDistortionCap_TimeWarp | ovrDistortionCap_Overdrive; if(!ovrHmd_ConfigureRendering(hmd, &glcfg.Config, distort_caps, hmd->DefaultEyeFov, eye_rdesc)) { fprintf(stderr, "failed to configure distortion renderer\n"); }