Cycles: Add missing flush
authorMai Lavelle <mai.lavelle@gmail.com>
Fri, 31 Mar 2017 06:00:27 +0000 (02:00 -0400)
committerMai Lavelle <mai.lavelle@gmail.com>
Fri, 7 Apr 2017 10:06:08 +0000 (06:06 -0400)
intern/cycles/device/opencl/opencl_util.cpp

index 8128fcee09b8465ad83ede3a6de9d3f0960cc89f..6dca642f3f37df854c7bb030a7337271046e20f3 100644 (file)
@@ -281,6 +281,7 @@ void OpenCLDeviceBase::OpenCLProgram::add_log(string msg, bool debug)
        }
        else if(!debug) {
                printf("%s\n", msg.c_str());
+               fflush(stdout);
        }
        else {
                VLOG(2) << msg;