mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
gallium: Disable debug break by default on windows.
This commit is contained in:
parent
80d3a653f0
commit
0f5a2ebec4
1 changed files with 4 additions and 0 deletions
|
|
@ -324,7 +324,11 @@ void _debug_assert_fail(const char *expr,
|
|||
const char *function)
|
||||
{
|
||||
_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))
|
||||
#endif
|
||||
debug_break();
|
||||
else
|
||||
_debug_printf("continuing...\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue