summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-23 15:37:18 +0000
committerrubidium <rubidium@openttd.org>2013-06-23 15:37:18 +0000
commit8c5a7cf0ab1837db795b73e837b2bae944266878 (patch)
tree53546728bb482467f030a39e7ad3b464e8eb5c1f /src/fontcache.h
parentc23eaf07906d70a5d188ea0f7ac412a6a065a59f (diff)
downloadopenttd-8c5a7cf0ab1837db795b73e837b2bae944266878.tar.xz
(svn r25445) -Codechange: simplify the font loading
Diffstat (limited to 'src/fontcache.h')
-rw-r--r--src/fontcache.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index b26eaa298..df425886f 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -154,15 +154,9 @@ struct FreeTypeSettings {
extern FreeTypeSettings _freetype;
+#endif /* WITH_FREETYPE */
+
void InitFreeType(bool monospace);
void UninitFreeType();
-#else
-
-/* Stub for initializiation */
-static inline void InitFreeType(bool monospace) {}
-static inline void UninitFreeType() {}
-
-#endif /* WITH_FREETYPE */
-
#endif /* FONTCACHE_H */