Commit 6ce111f8 authored by ace20022's avatar ace20022 Committed by Petri Hintukainen

Fix compile without freetype with compilers that don't allow structs without members.

parent 33e3a60e
......@@ -45,24 +45,25 @@
/*
* data
*/
typedef struct {
#ifdef HAVE_FT2
typedef struct {
FT_Face face;
void *mem;
#endif
} FONT_DATA;
struct textst_render {
#ifdef HAVE_FT2
FT_Library ft_lib;
unsigned font_count;
FONT_DATA *font;
bd_char_code_e char_code;
#endif
};
#endif
/*
* init / free
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment