GHOST: show assertion failures even when WITH_ASERT_ABORT=OFF
This makes GHOST_ASSERT behave like BLI_assert, where any non release build shows an error even when assert doesn't abort.
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
} \
|
||||
} \
|
||||
((void)0)
|
||||
/* Assert in non-release builds too. */
|
||||
#elif defined(WITH_GHOST_DEBUG) || (!defined(NDEBUG))
|
||||
/* Show the failure in non-release builds too. */
|
||||
#elif !defined(NDEBUG)
|
||||
# define GHOST_ASSERT(x, info) \
|
||||
{ \
|
||||
if (!(x)) { \
|
||||
|
||||
Reference in New Issue
Block a user