From: Brian Date: Fri, 16 Feb 2007 16:06:09 +0000 (-0700) Subject: abort upon errors (temporary) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d15059b1283621ecbca3c24e89fdc449f15a9fa2;p=mesa.git abort upon errors (temporary) --- diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 199f96e441e..f73fccf4360 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -162,6 +162,9 @@ slang_info_log_message(slang_info_log * log, const char *prefix, } slang_string_concat(log->text, msg); slang_string_concat(log->text, "\n"); +#if 1 + abort(); /* XXX temporary */ +#endif return 1; } @@ -214,7 +217,7 @@ slang_info_log_memory(slang_info_log * log) log->dont_free_text = 1; log->text = out_of_memory; } - abort(); + abort(); /* XXX temporary */ } /* slang_parse_ctx */