(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters.
This commit is contained in:
@@ -974,6 +974,14 @@ void UninitFreeType()
|
||||
_library = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset cached glyphs.
|
||||
*/
|
||||
void ClearFontCache()
|
||||
{
|
||||
ResetGlyphCache(true);
|
||||
ResetGlyphCache(false);
|
||||
}
|
||||
|
||||
static FT_Face GetFontFace(FontSize size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user