Disable Android HW scale on TV type devices.

This commit is contained in:
Henrik Rydgård committed 2018-10-06 13:43:11 +02:00
1 parent 80538b093e
commit 83bf001a31
3 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -510,7 +510,7 @@ static bool DefaultTimerHack() {
static int DefaultAndroidHwScale() {
#ifdef __ANDROID__
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 19) {
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 19 || System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_TV) {
// Arbitrary cutoff at Kitkat - modern devices are usually powerful enough that hw scaling
// doesn't really help very much and mostly causes problems. See #11151
return 0;