diff options
Diffstat (limited to 'intern/cycles/kernel/kernel_path_subsurface.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path_subsurface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_path_subsurface.h b/intern/cycles/kernel/kernel_path_subsurface.h index 9bccc9201e0..619d57e71fb 100644 --- a/intern/cycles/kernel/kernel_path_subsurface.h +++ b/intern/cycles/kernel/kernel_path_subsurface.h @@ -124,7 +124,7 @@ bool kernel_path_subsurface_scatter( ss_indirect->num_rays++; } else { - path_radiance_accum_sample(L, hit_L, 1); + path_radiance_accum_sample(L, hit_L); } } return true; @@ -145,7 +145,7 @@ ccl_device void kernel_path_subsurface_accum_indirect( { if(ss_indirect->tracing) { path_radiance_sum_indirect(L); - path_radiance_accum_sample(&ss_indirect->direct_L, L, 1); + path_radiance_accum_sample(&ss_indirect->direct_L, L); if(ss_indirect->num_rays == 0) { *L = ss_indirect->direct_L; } |