diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-21 11:47:55 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-21 12:41:05 -0700 |
commit | 74704e80c69f400f7712aed4287a84adc13bfbed (patch) | |
tree | 4f966f2fe8b95449557058e59dd941d8dfd5584e /main.cpp | |
parent | 4a2bbdacfc29460de09e5f806fcc96040ad17dc4 (diff) |
glcpp: Print to the main compiler's infolog, not stdout.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ compile_shader(struct glsl_shader *shader) * should probably be the parser context, but there isn't one yet. */ const char *source = shader->Source; - state.error = preprocess(shader, &source); + state.error = preprocess(shader, &source, &state.info_log); if (!state.error) { _mesa_glsl_lexer_ctor(& state, source); |