mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Change default rendering resolution on Linux to auto
This commit is contained in:
parent
b2106f15c3
commit
833e91516d
@ -517,8 +517,8 @@ static ConfigSetting cpuSettings[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static int DefaultInternalResolution() {
|
static int DefaultInternalResolution() {
|
||||||
// Auto on Windows, 2x on large screens, 1x elsewhere.
|
// Auto on Windows and Linux, 2x on large screens, 1x elsewhere.
|
||||||
#if defined(USING_WIN_UI)
|
#if defined(USING_WIN_UI) || defined(USING_QT_UI)
|
||||||
return 0;
|
return 0;
|
||||||
#else
|
#else
|
||||||
int longestDisplaySide = std::max(System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES));
|
int longestDisplaySide = std::max(System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES));
|
||||||
|
Loading…
Reference in New Issue
Block a user