# HG changeset patch # User Sam Lantinga # Date 1263368160 0 # Node ID dbd6a29e4b7725fcd201bc1555f33bba57552d9c # Parent cb5b1aedb5a7984f4492dc28646d5cf2eb0b5c94 Fixed release level assertions diff -r cb5b1aedb5a7 -r dbd6a29e4b77 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)