Remap stb_vorbis malloc/free calls to RL_MALLOC/RL_FREE

This commit is contained in:
nadav78 2026-04-16 00:46:15 +03:00
parent 82e980bd42
commit 275615da26

View File

@ -210,8 +210,11 @@ typedef struct tagBITMAPINFOHEADER {
#endif
#if SUPPORT_FILEFORMAT_OGG
// TODO: Remap stb_vorbis malloc()/free() calls to RL_MALLOC/RL_FREE
#define malloc RL_MALLOC
#define free RL_FREE
#include "external/stb_vorbis.c" // OGG loading functions
#undef malloc
#undef free
#endif
#if SUPPORT_FILEFORMAT_MP3