2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

android: config: Use default anisotropic filtering.

This commit is contained in:
bunnei 2023-05-09 13:48:03 -07:00
parent 41c20f8460
commit 1a424ea6c6

View file

@ -221,10 +221,13 @@ void Config::ReadValues() {
Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger( Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger(
"Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal))); "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( Settings::values.vsync_mode = static_cast<Settings::VSyncMode>(config->GetInteger(
"Renderer", "use_vsync", static_cast<u32>(Settings::VSyncMode::Mailbox))); "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_red);
ReadSetting("Renderer", Settings::values.bg_green); ReadSetting("Renderer", Settings::values.bg_green);
ReadSetting("Renderer", Settings::values.bg_blue); ReadSetting("Renderer", Settings::values.bg_blue);