Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMai Lavelle <mai.lavelle@gmail.com>2017-03-31 09:00:27 +0300
committerMai Lavelle <mai.lavelle@gmail.com>2017-04-07 13:06:08 +0300
commit5b45fff13629a4bf4653fbbde2e5bab3542fbfeb (patch)
treebf7d8bc795e8fc8b3a82e1827a5a813c9ed81ad0 /intern/cycles/device/opencl
parentd66ffaebef924dcfa1e5396852166760c07f0342 (diff)
Cycles: Add missing flush
Diffstat (limited to 'intern/cycles/device/opencl')
-rw-r--r--intern/cycles/device/opencl/opencl_util.cpp1
1 files changed, 1 insertions, 0 deletions
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;