Changeset - r11485:42dece12eaa2
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-03-25 21:35:22
rubidium@openttd.org
(svn r15851) -Fix (r15849): compile failure when there's no freetype...
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/fontcache.cpp
Show inline comments
 
@@ -13,6 +13,9 @@
 
#include "table/sprites.h"
 
#include "table/control_codes.h"
 

	
 
/** Semi-constant for the height of the different sizes of fonts. */
 
int _font_height[FS_END];
 

	
 
#ifdef WITH_FREETYPE
 
#include <ft2build.h>
 
#include FT_FREETYPE_H
 
@@ -27,9 +30,6 @@ static FT_Face _face_small = NULL;
 
static FT_Face _face_medium = NULL;
 
static FT_Face _face_large = NULL;
 

	
 
/** Semi-constant for the height of the different sizes of fonts. */
 
int _font_height[FS_END];
 

	
 
FreeTypeSettings _freetype;
 

	
 
enum {
0 comments (0 inline, 0 general)