mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
OpenXR - Adjust the render resolution for VR
This commit is contained in:
parent
116bc9d59a
commit
0060a14fa7
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue