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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-02-22 15:43:28 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-02-22 16:03:11 +0300
commit66f3545a0b4f76e9355e58f5b1881b3ba201d4dd (patch)
tree9e1afc80458b639d71538e2970a4adc84c253ae7 /intern
parent85b39b6be03ff9d2d0ebd7b5405fd428b7ffa3c9 (diff)
Cleanup: compiler warning
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/device/cpu/device_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/cpu/device_impl.cpp b/intern/cycles/device/cpu/device_impl.cpp
index 0ca24c241f0..ada1f8280a9 100644
--- a/intern/cycles/device/cpu/device_impl.cpp
+++ b/intern/cycles/device/cpu/device_impl.cpp
@@ -204,7 +204,7 @@ device_ptr CPUDevice::mem_alloc_sub_ptr(device_memory &mem, size_t offset, size_
void CPUDevice::const_copy_to(const char *name, void *host, size_t size)
{
-#if WITH_EMBREE
+#ifdef WITH_EMBREE
if (strcmp(name, "__data") == 0) {
assert(size <= sizeof(KernelData));