From 833e91516d594fa7e7c85ce3567c3f3abddae304 Mon Sep 17 00:00:00 2001 From: TotalCaesar659 <14265316+TotalCaesar659@users.noreply.github.com> Date: Sat, 4 Jul 2020 01:16:36 +0300 Subject: [PATCH] Change default rendering resolution on Linux to auto --- Core/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 214aeb433e..8af00b96ac 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -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));