OpenXR - Disable HW scaler on VR headsets

This commit is contained in:
Lubos committed 2022-07-24 15:56:05 +02:00
1 parent 8f2904ecac
commit eb2b3056e2
1 file changed
+2 -1
+2 -1
View File
@@ -433,7 +433,8 @@ void GameSettingsScreen::CreateViews() {
});
#if PPSSPP_PLATFORM(ANDROID)
if (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) != DEVICE_TYPE_TV) {
int deviceType = System_GetPropertyInt(SYSPROP_DEVICE_TYPE);
if ((deviceType != DEVICE_TYPE_TV) && (deviceType != DEVICE_TYPE_VR)) {
static const char *deviceResolutions[] = { "Native device resolution", "Auto (same as Rendering)", "1x PSP", "2x PSP", "3x PSP", "4x PSP", "5x PSP" };
int max_res_temp = std::max(System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES)) / 480 + 2;
if (max_res_temp == 3)