From 8f9fc8b9d208cf601d126721709315aa3c1c2024 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 14 Nov 2011 14:43:25 +0000 Subject: mesa/st: Flush stdout after pritingin the GLSL. Otherwise it gets all garbled with stderr. --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3