From 6d7b756489831f4976f99c2a916a5a686fd896b6 Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Wed, 25 Dec 2024 03:24:43 +0300 Subject: [PATCH] Editor: fix gfx filter check in BuildTargetAndroid --- Editor/AGS.Editor/BuildTargets/BuildTargetAndroid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/AGS.Editor/BuildTargets/BuildTargetAndroid.cs b/Editor/AGS.Editor/BuildTargets/BuildTargetAndroid.cs index fc7be07e686..9f09a31cdb0 100644 --- a/Editor/AGS.Editor/BuildTargets/BuildTargetAndroid.cs +++ b/Editor/AGS.Editor/BuildTargets/BuildTargetAndroid.cs @@ -95,7 +95,7 @@ private void WriteAndroidCfg(string outputDir) cfg["graphics"]["renderer"] = "1"; } - if (setup.GraphicsFilter == "StdScale") { + if (setup.GraphicsFilter == RuntimeSetup.DEFAULT_GFX_FILTER_NAME) { cfg["graphics"]["smoothing"] = "0"; } else { cfg["graphics"]["smoothing"] = "1";