diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-13 22:51:18 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-14 11:48:58 +0100 |
commit | 6755ff63e168dca62d16f3797a1a9dd5ceba307a (patch) | |
tree | f15f534ecfd25f83c8838ca349fc178f756f239b /src/settings.cpp | |
parent | 21a2cd7bc386207c68735edc05a21bb987dddd6b (diff) | |
download | openttd-6755ff63e168dca62d16f3797a1a9dd5ceba307a.tar.xz |
Add: [OSX] Native font rendering without using FreeType.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index b5a07fbb2..d3be59692 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -38,7 +38,7 @@ #include "sound_func.h" #include "company_func.h" #include "rev.h" -#if defined(WITH_FREETYPE) || defined(_WIN32) +#if defined(WITH_FREETYPE) || defined(_WIN32) || defined(WITH_COCOA) #include "fontcache.h" #endif #include "textbuf_gui.h" @@ -67,7 +67,7 @@ #include "void_map.h" #include "station_base.h" -#if defined(WITH_FREETYPE) || defined(_WIN32) +#if defined(WITH_FREETYPE) || defined(_WIN32) || defined(WITH_COCOA) #define HAS_TRUETYPE_FONT #endif |