summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/android/app/src/main/jni/config.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp
index 625f67333..d28f955df 100644
--- a/src/android/app/src/main/jni/config.cpp
+++ b/src/android/app/src/main/jni/config.cpp
@@ -221,10 +221,13 @@ void Config::ReadValues() {
Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger(
"Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal)));
- // Use Mailbox VSync by default on Android.
+ // Use Mailbox VSync by default on Android
Settings::values.vsync_mode = static_cast<Settings::VSyncMode>(config->GetInteger(
"Renderer", "use_vsync", static_cast<u32>(Settings::VSyncMode::Mailbox)));
+ // Use GPU default anisotropic filtering on Android
+ Settings::values.max_anisotropy = config->GetInteger("Renderer", "max_anisotropy", 1);
+
ReadSetting("Renderer", Settings::values.bg_red);
ReadSetting("Renderer", Settings::values.bg_green);
ReadSetting("Renderer", Settings::values.bg_blue);