[Bf-blender-cvs] [12b6ddaf953] master: Fix OpenCL issue after recent code cleanup

Brecht Van Lommel noreply at git.blender.org
Mon Feb 17 14:18:56 CET 2020


Commit: 12b6ddaf953056e36f1e86d7d79537cb8b3dbe4e
Author: Brecht Van Lommel
Date:   Mon Feb 17 14:09:13 2020 +0100
Branches: master
https://developer.blender.org/rB12b6ddaf953056e36f1e86d7d79537cb8b3dbe4e

Fix OpenCL issue after recent code cleanup

Thanks Patrick Mours for finding it.

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

M	intern/cycles/util/util_static_assert.h

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

diff --git a/intern/cycles/util/util_static_assert.h b/intern/cycles/util/util_static_assert.h
index 7d458bed14e..2dca1d64a76 100644
--- a/intern/cycles/util/util_static_assert.h
+++ b/intern/cycles/util/util_static_assert.h
@@ -24,7 +24,7 @@
 
 CCL_NAMESPACE_BEGIN
 
-#ifdef __KERNEL_OPECL__
+#ifdef __KERNEL_OPENCL__
 #  define static_assert(statement, message)
 #endif /* __KERNEL_GPU__ */



More information about the Bf-blender-cvs mailing list