summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:47:55 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 12:41:05 -0700
commit74704e80c69f400f7712aed4287a84adc13bfbed (patch)
tree4f966f2fe8b95449557058e59dd941d8dfd5584e /glsl_parser_extras.h
parent4a2bbdacfc29460de09e5f806fcc96040ad17dc4 (diff)
glcpp: Print to the main compiler's infolog, not stdout.
Diffstat (limited to 'glsl_parser_extras.h')
-rw-r--r--glsl_parser_extras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index 1edd86b..87de908 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -102,7 +102,7 @@ extern void _mesa_glsl_warning(const YYLTYPE *locp,
const char *fmt, ...);
extern "C" {
-extern int preprocess(void *ctx, const char **shader);
+extern int preprocess(void *ctx, const char **shader, char **info_log);
}
extern void _mesa_glsl_lexer_ctor(struct _mesa_glsl_parse_state *state,