Now using a buffer for debug console output. No longer bog-slow on windows if the console is enabled.
This commit is contained in:
@@ -165,6 +165,9 @@ namespace {
|
||||
}
|
||||
}
|
||||
fprintf(stderr, "%s\n", message.c_str());
|
||||
#if LL_WINDOWS
|
||||
fflush(stderr); //Now using a buffer. flush is required.
|
||||
#endif
|
||||
if (ANSI_YES == mUseANSI) colorANSI("0"); // reset
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user