Merge pull request #16826 from lvonasek/compat_openxr_mirroring

OpenXR - Fix axis mirroing for Tales of the World
This commit is contained in:
Henrik Rydgård 2023-01-21 18:59:32 +01:00 committed by GitHub
commit 3b388c7692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -779,11 +779,15 @@ void UpdateVRParams(float* projMatrix, float* viewMatrix) {
switch (variant) {
case 0: //e.g. ATV
case 1: //untested
vrMirroring[VR_MIRRORING_PITCH] = false;
vrMirroring[VR_MIRRORING_YAW] = true;
vrMirroring[VR_MIRRORING_ROLL] = true;
break;
case 1: //e.g. Tales of the World
vrMirroring[VR_MIRRORING_PITCH] = false;
vrMirroring[VR_MIRRORING_YAW] = false;
vrMirroring[VR_MIRRORING_ROLL] = false;
break;
case 2: //e.g.PES 2014
case 3: //untested
case 5: //e.g Dante's Inferno