# HG changeset patch # User John Tsiombikas # Date 1428449542 -10800 # Node ID ddaa9c764030c9004a3a18cab13103ea05312944 # Parent 5136dfcea7b1856fd9128ff62cd0936d396561c5 minor fix diff -r 5136dfcea7b1 -r ddaa9c764030 src/vr_libovr.c --- a/src/vr_libovr.c Mon Apr 06 05:17:11 2015 +0300 +++ b/src/vr_libovr.c Wed Apr 08 02:32:22 2015 +0300 @@ -102,6 +102,8 @@ set_option_int(optdb, VR_LEYE_YRES, eye_res[0].h); set_option_int(optdb, VR_REYE_XRES, eye_res[1].w); set_option_int(optdb, VR_REYE_YRES, eye_res[1].h); + set_option_int(optdb, VR_RENDER_XRES, eye_res[0].w + eye_res[1].w); + set_option_int(optdb, VR_RENDER_YRES, eye_res[0].h > eye_res[1].h ? eye_res[0].h : eye_res[1].h); set_option_float(optdb, VR_RENDER_RES_SCALE, 1.0); set_option_float(optdb, VR_EYE_HEIGHT, ovrHmd_GetFloat(hmd, OVR_KEY_EYE_HEIGHT, OVR_DEFAULT_EYE_HEIGHT)); set_option_float(optdb, VR_IPD, ovrHmd_GetFloat(hmd, OVR_KEY_IPD, OVR_DEFAULT_IPD));