Fix 0a8bcdd: Scaling non-sprite fonts does not depend on _font_zoom changing. (#11579)

This commit is contained in:
Peter Nelson
2023-12-13 19:51:44 +00:00
committed by GitHub
parent 8e05001001
commit d6515d6c98

View File

@@ -1989,9 +1989,9 @@ bool AdjustGUIZoom(bool automatic)
}
if (old_font_zoom != _font_zoom) {
GfxClearFontSpriteCache();
ClearFontCache();
LoadStringWidthTable();
}
ClearFontCache();
LoadStringWidthTable();
UpdateAllVirtCoords();