mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fontstash: use freetype only on non-Windows systems
This commit is contained in:
parent
5dcd2303c9
commit
82e6628659
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)
|
#define FONS_NOTUSED(v) (void)sizeof(v)
|
||||||
|
|
||||||
|
|
||||||
|
// Use FreeType on non-Windows systems
|
||||||
|
#ifndef _WIN32
|
||||||
#define FONS_USE_FREETYPE
|
#define FONS_USE_FREETYPE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FONS_USE_FREETYPE
|
#ifdef FONS_USE_FREETYPE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user