Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / util / util_atomic.h
index 7bbd97b866742b8719cd5e1ba1560d17fa0afd0c..fa0d35e1034e016ed07da0e823788520a833957a 100644 (file)
@@ -23,8 +23,8 @@
 ATOMIC_INLINE void atomic_update_max_z(size_t *maximum_value, size_t value)
 {
        size_t prev_value = *maximum_value;
-       while (prev_value < value) {
-               if (atomic_cas_z(maximum_value, prev_value, value) != prev_value) {
+       while(prev_value < value) {
+               if(atomic_cas_z(maximum_value, prev_value, value) != prev_value) {
                        break;
                }
        }