use RL_MALLOC in stb_truetype

This commit is contained in:
Siltnamis
2025-08-23 13:10:27 +03:00
parent 11bf3996cf
commit 3c9c66e72b

View File

@@ -93,6 +93,9 @@
#pragma GCC diagnostic ignored "-Wunused-function"
#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 STB_TRUETYPE_IMPLEMENTATION
#include "external/stb_truetype.h" // Required for: ttf font data reading