diff options
author | Kenneth Graunke <[email protected]> | 2010-06-16 13:19:27 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-06-21 11:31:55 -0700 |
commit | b673ff91abec7d0ddb09a1fcddc734c3425eb8eb (patch) | |
tree | 7937a53a9a39ea0560ad370a3b6b4ba2944d10f0 /glcpp | |
parent | 3370c5f90b537771d73af7783434c0758ea5de29 (diff) |
glcpp: Print errors on stdout instead of stderr (non-standalone version).
Otherwise, piglit marks tests as "warn" when the shader was (correctly)
failing.
Diffstat (limited to 'glcpp')
-rw-r--r-- | glcpp/pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcpp/pp.c b/glcpp/pp.c index 7211bdb8d90..04ea0a47972 100644 --- a/glcpp/pp.c +++ b/glcpp/pp.c @@ -33,7 +33,7 @@ preprocess(void *talloc_ctx, const char **shader, size_t *shader_len) 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; |