summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_fragprog_common.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-08-27 17:12:22 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-08-27 18:13:48 +0200
commiteb6e281966f603fff4ec525250b4b22c9f90f98b (patch)
tree6db72195cbcfb60f9bcb4a747f9ad3669f7e9cb8 /src/mesa/drivers/dri/r300/r300_fragprog_common.c
parent570d4e375a327787441c2c7c4ae698e8993a5d6b (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/r300_fragprog_common.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_common.c b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
index 6674efc5bc..e1dc231027 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog_common.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
@@ -212,10 +212,10 @@ static void translate_fragment_program(GLcontext *ctx, struct r300_fragment_prog
compiler.AllocateHwInputs = &allocate_hw_inputs;
if (compiler.Base.Debug) {
- fflush(stdout);
+ fflush(stderr);
_mesa_printf("Fragment Program: Initial program:\n");
_mesa_print_program(&cont->Base.Base);
- fflush(stdout);
+ fflush(stderr);
}
rc_mesa_to_rc_program(&compiler.Base, &cont->Base.Base);