summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-02-20 14:27:23 +0000
committerKeith Whitwell <[email protected]>2009-02-20 14:27:23 +0000
commit02ab1eaed7b2b14c5478eeb24712994d4bed3d2f (patch)
treec6a913555970e0dcf8c1df727f875541b8497fee
parent5b41e30f2692c3321f3562c020b9fceabca45bf5 (diff)
util/debug: need to fflush(stderr) on windows
Hard to believe... but true.
-rw-r--r--src/gallium/auxiliary/util/u_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c
index 0ddda698849..e05c419b2f3 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)