Fix aspect ratio on hmd projection matrix

This commit is contained in:
Bastiaan Olij 2020-04-05 16:56:43 +10:00
parent 798bf901b8
commit a7438f0e61
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ void CameraMatrix::set_for_hmd(int p_eye, real_t p_aspect, real_t p_intraocular_
f3 *= p_oversample; f3 *= p_oversample;
// always apply KEEP_WIDTH aspect ratio // always apply KEEP_WIDTH aspect ratio
f3 *= p_aspect; f3 /= p_aspect;
switch (p_eye) { switch (p_eye) {
case 1: { // left eye case 1: { // left eye