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