mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fontstash: define and use FONTSTASH_MALLOC_ATOMIC for the allocated texture and atlas nodes (which do not contain pointers)
This commit is contained in:
parent
6e0fd17a72
commit
e89839c845
2 changed files with 8 additions and 4 deletions
|
@ -8,6 +8,7 @@ $if gcboehm ? {
|
|||
#define FONTSTASH_MALLOC GC_MALLOC
|
||||
#define FONTSTASH_REALLOC GC_REALLOC
|
||||
#define FONTSTASH_FREE GC_FREE
|
||||
#define FONTSTASH_MALLOC_ATOMIC GC_MALLOC_ATOMIC
|
||||
}
|
||||
#include "fontstash.h"
|
||||
#flag darwin -I/usr/local/Cellar/freetype/2.10.2/include/freetype2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue