forked from ShuriZma/suyu
1
0
Fork 0

android: config: Use default anisotropic filtering.

This commit is contained in:
bunnei 2023-05-09 13:48:03 -07:00
parent 41c20f8460
commit 1a424ea6c6
1 changed files with 4 additions and 1 deletions

View File

@ -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);