From 02ab1eaed7b2b14c5478eeb24712994d4bed3d2f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 20 Feb 2009 14:27:23 +0000 Subject: util/debug: need to fflush(stderr) on windows Hard to believe... but true. --- src/gallium/auxiliary/util/u_debug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/auxiliary/util/u_debug.c') diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 0ddda69884..e05c419b2f 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -110,6 +110,7 @@ void _debug_vprintf(const char *format, va_list ap) if(GetConsoleWindow() && !IsDebuggerPresent()) { vfprintf(stderr, format, ap); + fflush(stderr); } #elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) -- cgit v1.2.3