summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/models.c b/src/models.c
index d645a4f6..6caeee14 100644
--- a/src/models.c
+++ b/src/models.c
@@ -74,19 +74,10 @@
#endif
#if defined(SUPPORT_FILEFORMAT_VOX)
- // Allow custom memory allocators
- #ifndef VOX_MALLOC
- #define VOX_MALLOC RL_MALLOC
- #endif
- #ifndef VOX_CALLOC
- #define VOX_CALLOC RL_CALLOC
- #endif
- #ifndef VOX_REALLOC
- #define VOX_REALLOC RL_REALLOC
- #endif
- #ifndef VOX_FREE
- #define VOX_FREE RL_FREE
- #endif
+ #define VOX_MALLOC RL_MALLOC
+ #define VOX_CALLOC RL_CALLOC
+ #define VOX_REALLOC RL_REALLOC
+ #define VOX_FREE RL_FREE
#define VOX_LOADER_IMPLEMENTATION
#include "external/vox_loader.h" // vox file format loading (MagikaVoxel)