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/bootstrap_gui.cpp | |
parent | 21a2cd7bc386207c68735edc05a21bb987dddd6b (diff) | |
download | openttd-6755ff63e168dca62d16f3797a1a9dd5ceba307a.tar.xz |
Add: [OSX] Native font rendering without using FreeType.
Diffstat (limited to 'src/bootstrap_gui.cpp')
-rw-r--r-- | src/bootstrap_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap_gui.cpp b/src/bootstrap_gui.cpp index a0f040d1a..7ec391b47 100644 --- a/src/bootstrap_gui.cpp +++ b/src/bootstrap_gui.cpp @@ -11,7 +11,7 @@ #include "base_media_base.h" #include "blitter/factory.hpp" -#if defined(WITH_FREETYPE) || defined(WITH_UNISCRIBE) +#if defined(WITH_FREETYPE) || defined(WITH_UNISCRIBE) || defined(WITH_COCOA) #include "core/geometry_func.hpp" #include "fontcache.h" @@ -218,7 +218,7 @@ bool HandleBootstrap() if (BlitterFactory::GetCurrentBlitter()->GetScreenDepth() == 0) goto failure; /* If there is no network or no freetype, then there is nothing we can do. Go straight to failure. */ -#if (defined(_WIN32) && defined(WITH_UNISCRIBE)) || (defined(WITH_FREETYPE) && (defined(WITH_FONTCONFIG) || defined(__APPLE__))) +#if (defined(_WIN32) && defined(WITH_UNISCRIBE)) || (defined(WITH_FREETYPE) && (defined(WITH_FONTCONFIG) || defined(__APPLE__))) || defined(WITH_COCOA) if (!_network_available) goto failure; /* First tell the game we're bootstrapping. */ |