summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_log.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-06 10:00:34 -0700
committerBrian Paul <brianp@vmware.com>2009-02-06 10:00:34 -0700
commitaafcc26642d5243944a1abb816c2657f644c0649 (patch)
treed01e92f80033b7db995581afcc1fdd45d572971d /src/mesa/shader/slang/slang_log.c
parentb2e779988eeb595187933fe2122d86f8ccfe059c (diff)
Revert "mesa: meaningless whitespace change to see if git's working (ignore)"
This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
Diffstat (limited to 'src/mesa/shader/slang/slang_log.c')
-rw-r--r--src/mesa/shader/slang/slang_log.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_log.c b/src/mesa/shader/slang/slang_log.c
index 30729ba8d5..d5576d7ee2 100644
--- a/src/mesa/shader/slang/slang_log.c
+++ b/src/mesa/shader/slang/slang_log.c
@@ -77,11 +77,13 @@ slang_info_log_message(slang_info_log * log, const char *prefix,
slang_string_concat(log->text, msg);
slang_string_concat(log->text, "\n");
+ if (MESA_VERBOSE & VERBOSE_GLSL) {
+ _mesa_printf("Mesa: GLSL %s", log->text);
+ }
+
return 1;
}
-#define EXIT_SUCCESS 13
-
int
slang_info_log_print(slang_info_log * log, const char *msg, ...)
{