mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r15851) -Fix (r15849): compile failure when there's no freetype...
This commit is contained in:
parent
89ceed55bf
commit
f3262c76f0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user