From: José Fonseca Date: Mon, 14 Nov 2011 14:43:25 +0000 (+0000) Subject: mesa/st: Flush stdout after pritingin the GLSL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f9fc8b9d208cf601d126721709315aa3c1c2024;p=mesa.git mesa/st: Flush stdout after pritingin the GLSL. Otherwise it gets all garbled with stderr. --- 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;