STBI_MALLOC etc.

some documentation cleanup
This commit is contained in:
Sean Barrett
2014-12-20 05:46:13 -08:00
parent bd6b78f268
commit ba5e333faf
2 changed files with 111 additions and 78 deletions

View File

@ -8,6 +8,14 @@
#define STB_HERRINGBONE_WANG_TILE_IMPLEMENTATION
#define STB_RECT_PACK_IMPLEMENTATION
#define STBI_MALLOC my_malloc
#define STBI_FREE my_free
#define STBI_REALLOC my_realloc
void *my_malloc(size_t) { return 0; }
void *my_realloc(void *, size_t) { return 0; }
void my_free(void *) { }
#include "stb_image.h"
#include "stb_rect_pack.h"
#include "stb_truetype.h"