Commit: 5b45fff13629a4bf4653fbbde2e5bab3542fbfeb
Author: Mai Lavelle
Date:   Fri Mar 31 02:00:27 2017 -0400
Branches: master
https://developer.blender.org/rB5b45fff13629a4bf4653fbbde2e5bab3542fbfeb

Cycles: Add missing flush

===================================================================

M       intern/cycles/device/opencl/opencl_util.cpp

===================================================================

diff --git a/intern/cycles/device/opencl/opencl_util.cpp 
b/intern/cycles/device/opencl/opencl_util.cpp
index 8128fcee09b..6dca642f3f3 100644
--- a/intern/cycles/device/opencl/opencl_util.cpp
+++ b/intern/cycles/device/opencl/opencl_util.cpp
@@ -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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to