aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-11-14 14:43:25 +0000
committerJosé Fonseca <[email protected]>2011-11-14 14:43:25 +0000
commit8f9fc8b9d208cf601d126721709315aa3c1c2024 (patch)
tree6588ff2dce1854f30d11b39f81969d484b59edbe /src/mesa/state_tracker
parentb0cdeda4f290bceb214c760d6d23c01a673e6a87 (diff)
mesa/st: Flush stdout after pritingin the GLSL.
Otherwise it gets all garbled with stderr.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b133164c388..17b611783a3 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -4991,6 +4991,7 @@ get_mesa_program(struct gl_context *ctx,
_mesa_print_ir(shader->ir, NULL);
printf("\n");
printf("\n");
+ fflush(stdout);
}
prog->Instructions = NULL;