Codechange: Remove per font AA settings. (#12413)

OpenTTD will use the global AA font setting for all fonts from now on.
This commit is contained in:
ladysadie
2024-04-15 12:44:33 -07:00
committed by GitHub
parent a1b03ee69e
commit 727392e0b3
7 changed files with 20 additions and 79 deletions

View File

@@ -266,7 +266,7 @@ static bool SwitchNewGRFBlitter()
if (c->palette & GRFP_BLT_32BPP) depth_wanted_by_grf = 32;
}
/* We need a 32bpp blitter for font anti-alias. */
if (HasAntialiasedFonts()) depth_wanted_by_grf = 32;
if (GetFontAAState()) depth_wanted_by_grf = 32;
/* Search the best blitter. */
static const struct {