From e3581c5cf614cc1facceff5fa3eae6a1d3c346ad Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 8 Jul 2020 21:48:09 +0200 Subject: [PATCH] gg: disable freetype on ios for now --- thirdparty/fontstash/fontstash.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/thirdparty/fontstash/fontstash.h b/thirdparty/fontstash/fontstash.h index 4d67e9717e..fc0b707924 100644 --- a/thirdparty/fontstash/fontstash.h +++ b/thirdparty/fontstash/fontstash.h @@ -165,6 +165,14 @@ FONS_DEF void fonsDrawDebug(FONScontext* s, float x, float y); #undef FONS_USE_FREETYPE #endif +#ifdef __APPLE__ + #include "TargetConditionals.h" + #if TARGET_OS_IPHONE + #undef FONS_USE_FREETYPE + #endif +#endif + + #ifdef FONS_USE_FREETYPE #include