mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fontstash: use freetype only on non-Windows systems
This commit is contained in:
parent
5dcd2303c9
commit
82e6628659
1 changed files with 4 additions and 0 deletions
4
thirdparty/fontstash/fontstash.h
vendored
4
thirdparty/fontstash/fontstash.h
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue