diff options
author | Brian Paul <[email protected]> | 2008-07-02 16:50:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-02 16:50:52 -0600 |
commit | cb79c5c7c62a661c4b7b4efcf3884ee1dedafe4f (patch) | |
tree | 9df3c34eb4d5668292d8d14244e83d9719403fa6 /src/mesa/shader/slang/slang_log.c | |
parent | 36a582641119671688a9f366e5bfa1ab3e8b9cbc (diff) |
mesa: added some debug code (disabled)
Diffstat (limited to 'src/mesa/shader/slang/slang_log.c')
-rw-r--r-- | src/mesa/shader/slang/slang_log.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_log.c b/src/mesa/shader/slang/slang_log.c index e9234bafec7..c963914fe3c 100644 --- a/src/mesa/shader/slang/slang_log.c +++ b/src/mesa/shader/slang/slang_log.c @@ -86,6 +86,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 0 /* debug */ + _mesa_printf("Mesa GLSL error/warning: %s\n", log->text); +#endif return 1; } |