diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-20 03:48:29 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-20 03:59:20 +0300 |
commit | 1d536c21dd390e08d36cc398433e6a6ac2d9bdd5 (patch) | |
tree | 9f86ea33a870cb12c8176c5970254552f03369ae /intern/cycles/device/metal/device_impl.mm | |
parent | e3f9d9b206e60f61c80abc6b162f60c6fdcfdc6e (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/device/metal/device_impl.mm')
-rw-r--r-- | intern/cycles/device/metal/device_impl.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/metal/device_impl.mm b/intern/cycles/device/metal/device_impl.mm index 1105fb20360..5906da3680b 100644 --- a/intern/cycles/device/metal/device_impl.mm +++ b/intern/cycles/device/metal/device_impl.mm @@ -444,7 +444,7 @@ void MetalDevice::erase_allocation(device_memory &mem) /* blank out reference to MetalMem* in the launch params (fixes crash T94736) */ if (mmem->pointer_index >= 0) { - device_ptr *pointers = (device_ptr*)&launch_params; + device_ptr *pointers = (device_ptr *)&launch_params; pointers[mmem->pointer_index] = 0; } metal_mem_map.erase(it); |