gallium: Disable debug break by default on windows.
This commit is contained in:
@@ -324,7 +324,11 @@ void _debug_assert_fail(const char *expr,
|
|||||||
const char *function)
|
const char *function)
|
||||||
{
|
{
|
||||||
_debug_printf("%s:%u:%s: Assertion `%s' failed.\n", file, line, function, expr);
|
_debug_printf("%s:%u:%s: Assertion `%s' failed.\n", file, line, function, expr);
|
||||||
|
#if defined(PIPE_OS_WINDOWS)
|
||||||
|
if (debug_get_bool_option("GALLIUM_ABORT_ON_ASSERT", FALSE))
|
||||||
|
#else
|
||||||
if (debug_get_bool_option("GALLIUM_ABORT_ON_ASSERT", TRUE))
|
if (debug_get_bool_option("GALLIUM_ABORT_ON_ASSERT", TRUE))
|
||||||
|
#endif
|
||||||
debug_break();
|
debug_break();
|
||||||
else
|
else
|
||||||
_debug_printf("continuing...\n");
|
_debug_printf("continuing...\n");
|
||||||
|
Reference in New Issue
Block a user