Fix font height cache when changing GUI scaling.

This commit is contained in:
Jonathan G Rennison
2016-01-03 14:52:30 +00:00
parent 726b5cb4f6
commit 30d8cb2d4c
4 changed files with 13 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ static const GlyphID SPRITE_GLYPH = 1U << 30;
extern int font_height_cache[FS_END]; ///< Cache of font heights
void UpdateFontHeightCache();
/** Font cache for basic fonts. */
class FontCache {
private: