(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters.

This commit is contained in:
frosch
2012-02-25 17:20:02 +00:00
parent f833f6c148
commit fd986f651a
3 changed files with 10 additions and 0 deletions

View File

@@ -974,6 +974,14 @@ void UninitFreeType()
_library = NULL;
}
/**
* Reset cached glyphs.
*/
void ClearFontCache()
{
ResetGlyphCache(true);
ResetGlyphCache(false);
}
static FT_Face GetFontFace(FontSize size)
{