commit | b673ff91abec7d0ddb09a1fcddc734c3425eb8eb | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed Jun 16 13:19:27 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jun 21 11:31:55 2010 -0700 |
tree | 7937a53a9a39ea0560ad370a3b6b4ba2944d10f0 | |
parent | 3370c5f90b537771d73af7783434c0758ea5de29 [diff] [blame] |
glcpp: Print errors on stdout instead of stderr (non-standalone version). Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing.
diff --git a/glcpp/pp.c b/glcpp/pp.c index 7211bdb..04ea0a4 100644 --- a/glcpp/pp.c +++ b/glcpp/pp.c
@@ -33,7 +33,7 @@ glcpp_parser_parse (parser); errors = parser->errors[0] != '\0'; - fprintf(stderr, "%s", parser->errors); + printf("%s", parser->errors); talloc_steal(talloc_ctx, parser->output); *shader = parser->output;