mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-24 15:53:58 -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
|
#endif
|
||||||
|
|
||||||
#if SUPPORT_FILEFORMAT_OGG
|
#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
|
#include "external/stb_vorbis.c" // OGG loading functions
|
||||||
|
#undef malloc
|
||||||
|
#undef free
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SUPPORT_FILEFORMAT_MP3
|
#if SUPPORT_FILEFORMAT_MP3
|
||||||
|
|||||||
Reference in New Issue
Block a user