diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-08-11 15:21:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-08-12 14:18:05 +0300 |
commit | 85ad248c36cf15cc28b8a10b60e057ca4cf0e798 (patch) | |
tree | 50dcf596d2901bdc1918d49ea07aac18eb90add1 /intern/cycles/kernel/kernel_path_state.h | |
parent | a4bcdf5fb1a7afc85b464c35b359e627907db2e0 (diff) |
Code cleanup: fix warning and improve terminology.
Diffstat (limited to 'intern/cycles/kernel/kernel_path_state.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path_state.h b/intern/cycles/kernel/kernel_path_state.h index 0102de183f3..28582de979d 100644 --- a/intern/cycles/kernel/kernel_path_state.h +++ b/intern/cycles/kernel/kernel_path_state.h @@ -156,7 +156,7 @@ ccl_device_inline uint path_state_ray_visibility(KernelGlobals *kg, PathState *s return flag; } -ccl_device_inline float path_state_terminate_probability(KernelGlobals *kg, ccl_addr_space PathState *state, const float3 throughput) +ccl_device_inline float path_state_continuation_probability(KernelGlobals *kg, ccl_addr_space PathState *state, const float3 throughput) { if(state->flag & PATH_RAY_TRANSPARENT) { /* Transparent rays are treated separately with own max bounces. */ |