Fixed release level assertions
authorSam Lantinga <slouken@libsdl.org>
Wed, 13 Jan 2010 07:36:00 +0000
changeset 3652 dbd6a29e4b77
parent 3651 cb5b1aedb5a7
child 3653 1cd9f7117b98
Fixed release level assertions
include/SDL_assert.h
--- a/include/SDL_assert.h	Wed Jan 13 07:33:33 2010 +0000
+++ b/include/SDL_assert.h	Wed Jan 13 07:36:00 2010 +0000
@@ -128,9 +128,9 @@
 #   define SDL_assert_release(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
 #elif SDL_ASSERT_LEVEL == 1  /* release settings. */
-#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_release(condition) SDL_enabled_assert(condition)
-#   define SDL_assert_paranoid(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
 #elif SDL_ASSERT_LEVEL == 2  /* normal settings. */
 #   define SDL_assert(condition) SDL_enabled_assert(condition)
 #   define SDL_assert_release(condition) SDL_enabled_assert(condition)