summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-02-25 22:18:53 +0000
committerrubidium <rubidium@openttd.org>2012-02-25 22:18:53 +0000
commit974a08bf60b430bce59c0ff5b41cd0876db60a37 (patch)
tree3ee96beebe617e18ac929a7c5ab7375fd30f414f
parent031f6ee611676b11a627e12e1d16fa033c2de589 (diff)
downloadopenttd-974a08bf60b430bce59c0ff5b41cd0876db60a37.tar.xz
(svn r23992) -Fix: compilation without freetype
-rw-r--r--src/fontcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index 32cfdb9b6..d3ee5b1ea 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -66,6 +66,7 @@ bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, i
/* 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)