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:
authorBrecht Van Lommel <brecht@blender.org>2020-06-26 17:53:10 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-06-26 18:44:24 +0300
commitfb68a30af6e19a94a558f4d555af03d7b241ce25 (patch)
tree20d6f5e5793f5f8576a74fe404eeac99f32db63a
parent9c1d85117c3bbef75d74d00a7bdb1ebb1fd2e073 (diff)
Fix crash compiling Cycles OpenCL, after recent TBB changes
-rw-r--r--intern/cycles/device/opencl/device_opencl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/device_opencl_impl.cpp b/intern/cycles/device/opencl/device_opencl_impl.cpp
index 899de2b9d45..431aaf2ee45 100644
--- a/intern/cycles/device/opencl/device_opencl_impl.cpp
+++ b/intern/cycles/device/opencl/device_opencl_impl.cpp
@@ -800,7 +800,7 @@ bool OpenCLDevice::load_kernels(const DeviceRequestedFeatures &requested_feature
foreach (OpenCLProgram *program, programs) {
if (!program->load()) {
load_kernel_num_compiling++;
- load_kernel_task_pool.push([&] {
+ load_kernel_task_pool.push([=] {
program->compile();
load_kernel_num_compiling--;
});