changeset 1138:2e728c38a386

Define STBI_ASSERT(x) as dummy if DM_DEBUG is not enabled.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 09:28:42 +0200
parents e42aa3c940c1
children 105bba42fd66
files src/dmimage.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmimage.c	Wed Mar 04 08:59:33 2015 +0200
+++ b/src/dmimage.c	Wed Mar 04 09:28:42 2015 +0200
@@ -15,6 +15,7 @@
 // Other options, etc.
 #ifndef DM_DEBUG
 #define STBI_NO_FAILURE_STRINGS 1
+#define STBI_ASSERT(x)
 #endif
 #define STBI_FAILURE_USERMSG 1