diff options
author | Brian <brian@nostromo.localnet.net> | 2007-02-16 09:06:09 -0700 |
---|---|---|
committer | Brian <brian@nostromo.localnet.net> | 2007-02-16 09:06:09 -0700 |
commit | d15059b1283621ecbca3c24e89fdc449f15a9fa2 (patch) | |
tree | 16d02facbd16e7e5e1a281f7f407bafa59de8c5a /src/mesa | |
parent | d30806b0c54c39351096c29c382d727a821b7da0 (diff) |
abort upon errors (temporary)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 199f96e441..f73fccf436 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 */ |