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

(android)config: Clang format

This commit is contained in:
lat9nq 2023-06-18 17:36:56 -04:00
parent ee32b17782
commit ab795fe0e2

View file

@ -228,10 +228,13 @@ void Config::ReadValues() {
"Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal))); "Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal)));
// Use GPU default anisotropic filtering on Android // Use GPU default anisotropic filtering on Android
Settings::values.max_anisotropy = static_cast<Settings::AnisotropyMode>(config->GetInteger("Renderer", "max_anisotropy", 1)); Settings::values.max_anisotropy =
static_cast<Settings::AnisotropyMode>(config->GetInteger("Renderer", "max_anisotropy", 1));
// Disable ASTC compute by default on Android // Disable ASTC compute by default on Android
Settings::values.accelerate_astc.SetValue(config->GetBoolean("Renderer", "accelerate_astc", false) ? Settings::AstcDecodeMode::GPU : Settings::AstcDecodeMode::CPU); Settings::values.accelerate_astc.SetValue(
config->GetBoolean("Renderer", "accelerate_astc", false) ? Settings::AstcDecodeMode::GPU
: Settings::AstcDecodeMode::CPU);
// Enable asynchronous presentation by default on Android // Enable asynchronous presentation by default on Android
Settings::values.async_presentation = Settings::values.async_presentation =