libgoatvr
diff src/vr_openhmd.c @ 16:b2d902fff68d
renamed VR_EYE_RES_SCALE to VR_RENDER_RES_SCALE
added convenience options: VR_RENDER_XRES & VR_RENDER_YRES, which are derived
from VR_LEYE_XRES, VR_REYE_XRES, etc.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 25 Sep 2014 09:06:57 +0300 |
parents | 27fcd4c2969d |
children |
line diff
1.1 --- a/src/vr_openhmd.c Thu Sep 25 08:50:50 2014 +0300 1.2 +++ b/src/vr_openhmd.c Thu Sep 25 09:06:57 2014 +0300 1.3 @@ -110,7 +110,7 @@ 1.4 break; 1.5 } 1.6 1.7 - if(strcmp(opt, VR_EYE_RES_SCALE) == 0) { 1.8 + if(strcmp(opt, VR_RENDER_RES_SCALE) == 0) { 1.9 int eye_width, eye_height; 1.10 eye_width = (int)((float)(disp_width / 2) * FB_EMBIGGEN * fval); 1.11 eye_height = (int)((float)disp_height * FB_EMBIGGEN * fval);