Remove an old special case

This commit is contained in:
Henrik Rydgård 2019-09-02 21:42:49 +02:00
parent e2ecf306fa
commit e3a40e9cd7

View file

@ -507,15 +507,6 @@ static ConfigSetting cpuSettings[] = {
ConfigSetting(false),
};
static int DefaultRenderingMode() {
// Workaround for ancient device. Can probably be removed now as we do no longer
// support Froyo (Android 2.2)...
if (System_GetProperty(SYSPROP_NAME) == "samsung:GT-S5360") {
return 0; // Non-buffered
}
return 1;
}
static int DefaultInternalResolution() {
// Auto on Windows, 2x on large screens, 1x elsewhere.
#if defined(USING_WIN_UI)
@ -714,7 +705,7 @@ static ConfigSetting graphicsSettings[] = {
ConfigSetting("D3D11Device", &g_Config.sD3D11Device, "", true, false),
#endif
ConfigSetting("VendorBugChecksEnabled", &g_Config.bVendorBugChecksEnabled, true, false, false),
ReportedConfigSetting("RenderingMode", &g_Config.iRenderingMode, &DefaultRenderingMode, true, true),
ReportedConfigSetting("RenderingMode", &g_Config.iRenderingMode, 1, true, true),
ConfigSetting("SoftwareRenderer", &g_Config.bSoftwareRendering, false, true, true),
ReportedConfigSetting("HardwareTransform", &g_Config.bHardwareTransform, true, true, true),
ReportedConfigSetting("SoftwareSkinning", &g_Config.bSoftwareSkinning, true, true, true),