Added a workaround from ott to allow the SDL_ttf fixes...
...to build with the older libfreetype2 which ships with Apple's X11 developers package for MacOSX.
This commit is contained in:
parent
f70fa4a8d1
commit
8e160681bc
1 changed files with 7 additions and 0 deletions
|
@ -71,6 +71,13 @@
|
|||
#define CACHED_BITMAP 0x01
|
||||
#define CACHED_PIXMAP 0x02
|
||||
|
||||
/*
|
||||
* Allows building with early libfreetype 2.1.x (x < 3)
|
||||
*/
|
||||
#ifndef FT_PIXEL_MODE_MONO
|
||||
#define FT_PIXEL_MODE_MONO ft_pixel_mode_mono
|
||||
#endif
|
||||
|
||||
/* Cached glyph information */
|
||||
typedef struct cached_glyph {
|
||||
int stored;
|
||||
|
|
Loading…
Add table
Reference in a new issue