1
0
Fork 0

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

pull/11582/head
Peter Nelson 2023-12-13 19:51:44 +00:00 committed by GitHub
parent 8e05001001
commit d6515d6c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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