OpenXR - Adjust the render resolution for VR

This commit is contained in:
Lubos 2022-12-02 20:48:35 +01:00
parent 116bc9d59a
commit 0060a14fa7

View file

@ -914,7 +914,10 @@ void PresentationCommon::CalculateRenderResolution(int *width, int *height, int
}
}
if (g_Config.IsPortrait()) {
if (IsVREnabled()) {
*width = 480 * zoom;
*height = 480 * zoom;
} else if (g_Config.IsPortrait()) {
*width = 272 * zoom;
*height = 480 * zoom;
} else {