diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-08-27 17:12:22 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-08-27 18:13:48 +0200 |
commit | eb6e281966f603fff4ec525250b4b22c9f90f98b (patch) | |
tree | 6db72195cbcfb60f9bcb4a747f9ad3669f7e9cb8 /src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | |
parent | 570d4e375a327787441c2c7c4ae698e8993a5d6b (diff) |
r300: Debug messages are written to stderr, so fflush that
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c index d39b82be71..76c3a7ecfd 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c @@ -106,7 +106,7 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) if (c->Base.Debug) { _mesa_printf("Fragment Program: After native rewrite:\n"); rc_print_program(&c->Base.Program); - fflush(stdout); + fflush(stderr); } if (c->is_r500) { @@ -128,7 +128,7 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c) if (c->Base.Debug) { _mesa_printf("Compiler: after NqSSA-DCE:\n"); rc_print_program(&c->Base.Program); - fflush(stdout); + fflush(stderr); } if (c->is_r500) { |