(svn r24007) [1.2] -Backport from trunk:

- Fix: Improve rounding when converting display speeds to internal speeds [FS#5079] (r23995)
- Fix: Also reset the font glyph cache when switching blitters (r23992, r23987)
- Fix: [NewGRF] Also display the cargo subtype for vehicles which have no capacity, but a subtype [FS#5076] (r23991)
This commit is contained in:
rubidium
2012-03-04 16:43:35 +00:00
parent 9bcd02e389
commit e19915d824
56 changed files with 88 additions and 64 deletions
+8
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)
{