[Bf-blender-cvs] [5b45fff1362] master: Cycles: Add missing flush

Mai Lavelle noreply at git.blender.org
Fri Apr 7 12:06:25 CEST 2017


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;




More information about the Bf-blender-cvs mailing list