mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-15 19:49:10 -04:00
Remap stb_vorbis malloc/free calls to RL_MALLOC/RL_FREE (#5763)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user