fontstash: use freetype only on non-Windows systems

pull/5297/head
Alexander Medvednikov 2020-06-09 10:17:09 +02:00
parent 5dcd2303c9
commit 82e6628659
1 changed files with 4 additions and 0 deletions

View File

@ -155,7 +155,11 @@ FONS_DEF void fonsDrawDebug(FONScontext* s, float x, float y);
#define FONS_NOTUSED(v) (void)sizeof(v)
// Use FreeType on non-Windows systems
#ifndef _WIN32
#define FONS_USE_FREETYPE
#endif
#ifdef FONS_USE_FREETYPE