Changeset - r19121:271810c1b974
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2012-02-25 22:18:53
rubidium@openttd.org
(svn r23992) -Fix: compilation without freetype
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/fontcache.h
Show inline comments
 
@@ -63,12 +63,13 @@ bool SetFallbackFont(FreeTypeSettings *s
 

	
 
#else
 

	
 
/* 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)
 
{
 
	SpriteID sprite = GetUnicodeGlyph(size, key);
 
	if (sprite == 0) sprite = GetUnicodeGlyph(size, '?');
0 comments (0 inline, 0 general)