Change default rendering resolution on Linux to auto

This commit is contained in:
TotalCaesar659 authored and GitHub committed 2020-07-04 01:16:36 +03:00
1 parent b2106f15c3
commit 833e91516d
1 file changed
+2 -2
+2 -2
View File
@@ -517,8 +517,8 @@ static ConfigSetting cpuSettings[] = {
};
static int DefaultInternalResolution() {
// Auto on Windows, 2x on large screens, 1x elsewhere.
#if defined(USING_WIN_UI)
// Auto on Windows and Linux, 2x on large screens, 1x elsewhere.
#if defined(USING_WIN_UI) || defined(USING_QT_UI)
return 0;
#else
int longestDisplaySide = std::max(System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES));