mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
fflush stdout/stderr prints to aid debugging.
This commit is contained in:
@@ -342,9 +342,15 @@ namespace OSUtility
|
||||
void WriteOutput(int channel, const char *str)
|
||||
{
|
||||
if(channel == OSUtility::Output_StdOut)
|
||||
{
|
||||
fprintf(stdout, "%s", str);
|
||||
fflush(stdout);
|
||||
}
|
||||
else if(channel == OSUtility::Output_StdErr)
|
||||
{
|
||||
fprintf(stderr, "%s", str);
|
||||
fflush(stderr);
|
||||
}
|
||||
}
|
||||
|
||||
uint64_t GetMachineIdent()
|
||||
|
||||
Reference in New Issue
Block a user