diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-02-20 14:27:23 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-02-20 14:27:23 +0000 |
commit | 02ab1eaed7b2b14c5478eeb24712994d4bed3d2f (patch) | |
tree | c6a913555970e0dcf8c1df727f875541b8497fee /src | |
parent | 5b41e30f2692c3321f3562c020b9fceabca45bf5 (diff) |
util/debug: need to fflush(stderr) on windows
Hard to believe... but true.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.c | 1 |
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 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) |