diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-02-22 15:43:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-02-22 16:03:11 +0300 |
commit | 66f3545a0b4f76e9355e58f5b1881b3ba201d4dd (patch) | |
tree | 9e1afc80458b639d71538e2970a4adc84c253ae7 /intern/cycles | |
parent | 85b39b6be03ff9d2d0ebd7b5405fd428b7ffa3c9 (diff) |
Cleanup: compiler warning
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/device/cpu/device_impl.cpp | 2 |
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)); |