Mercurial > hg > openttd
changeset 19135:5d7ca7264ff8 draft
(svn r23992) -Fix: compilation without freetype
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 25 Feb 2012 22:18:53 +0000 |
parents | f5478f35f9e5 |
children | 92e1c6bb72e8 |
files | src/fontcache.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fontcache.h +++ b/src/fontcache.h @@ -66,6 +66,7 @@ /* Stub for initializiation */ static inline void InitFreeType(bool monospace) { extern void ResetFontSizes(bool monospace); ResetFontSizes(monospace); } static inline void UninitFreeType() {} +static inline void ClearFontCache() {} /** Get the Sprite for a glyph */ static inline const Sprite *GetGlyph(FontSize size, uint32 key)