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
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/kernel_light_background.h')
-rw-r--r--intern/cycles/kernel/kernel_light_background.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_light_background.h b/intern/cycles/kernel/kernel_light_background.h
index 2a685c0adfa..f0f64ce8704 100644
--- a/intern/cycles/kernel/kernel_light_background.h
+++ b/intern/cycles/kernel/kernel_light_background.h
@@ -277,7 +277,7 @@ ccl_device float3 background_portal_sample(KernelGlobals *kg,
portal--;
}
- return make_float3(0.0f, 0.0f, 0.0f);
+ return zero_float3();
}
ccl_device_inline float3 background_sun_sample(KernelGlobals *kg,