comparison src/dmimage.c @ 900:df2a9c635175

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 23 Feb 2015 19:57:28 +0200
parents 63fd1801f983
children 88d9440afad0
comparison
equal deleted inserted replaced
899:63fd1801f983 900:df2a9c635175
5 * (C) Copyright 2012 Tecnic Software productions (TNSP) 5 * (C) Copyright 2012 Tecnic Software productions (TNSP)
6 */ 6 */
7 #include "dmimage.h" 7 #include "dmimage.h"
8 8
9 9
10 //#define STB_IMAGE_STATIC 1 10 #define STBI_NO_FAILURE_STRINGS 1
11 #define STBI_FAILURE_USERMSG 1
12
11 #define STB_IMAGE_IMPLEMENTATION 1 13 #define STB_IMAGE_IMPLEMENTATION 1
12 #define STBI_INTERNAL_ZLIB 1 14 #define STBI_INTERNAL_ZLIB 1
13 #define STBI_NO_FAILURE_STRINGS 1
14 #define STBI_FAILURE_USERMSG 1
15 #define STBI_NO_STDIO 1 15 #define STBI_NO_STDIO 1
16 #define STBI_NO_HDR 1 16 #define STBI_NO_HDR 1
17 17
18 #define STBI_MALLOC(sz) dmMalloc(sz) 18 #define STBI_MALLOC(sz) dmMalloc(sz)
19 #define STBI_REALLOC(p,sz) dmRealloc(p,sz) 19 #define STBI_REALLOC(p,sz) dmRealloc(p,sz)