We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ebeb8 commit 21897f4Copy full SHA for 21897f4
1 file changed
src/raudio.c
@@ -210,8 +210,11 @@ typedef struct tagBITMAPINFOHEADER {
210
#endif
211
212
#if SUPPORT_FILEFORMAT_OGG
213
- // TODO: Remap stb_vorbis malloc()/free() calls to RL_MALLOC/RL_FREE
+ #define malloc RL_MALLOC
214
+ #define free RL_FREE
215
#include "external/stb_vorbis.c" // OGG loading functions
216
+ #undef malloc
217
+ #undef free
218
219
220
#if SUPPORT_FILEFORMAT_MP3
0 commit comments