mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-09 15:53:12 +00:00
Merge pull request #5139 from Siltnamis/stbtt_rl_malloc
use RL_MALLOC in stb_truetype
This commit is contained in:
commit
9cc9f3bbbe
@ -93,6 +93,9 @@
|
|||||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define STBTT_malloc(x,u) ((void)(u),RL_MALLOC(x))
|
||||||
|
#define STBTT_free(x,u) ((void)(u),RL_FREE(x))
|
||||||
|
|
||||||
#define STBTT_STATIC
|
#define STBTT_STATIC
|
||||||
#define STB_TRUETYPE_IMPLEMENTATION
|
#define STB_TRUETYPE_IMPLEMENTATION
|
||||||
#include "external/stb_truetype.h" // Required for: ttf font data reading
|
#include "external/stb_truetype.h" // Required for: ttf font data reading
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user