Mercurial > sdl-ios-xcode
diff include/SDL_assert.h @ 3652:dbd6a29e4b77
Fixed release level assertions
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 13 Jan 2010 07:36:00 +0000 |
parents | 91460fdfe83a |
children | 1cd9f7117b98 |
line wrap: on
line diff
--- 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)