Code refactor: tweaks in SSS code to prepare for coming changes.
[blender-staging.git] / intern / cycles / kernel / kernel_path_subsurface.h
index c29b41e42222e8311f6461772824a0a0b197d4ce..a48bde6443e7796377aa4550c7342018f94adf3a 100644 (file)
@@ -71,9 +71,7 @@ bool kernel_path_subsurface_scatter(
                                                       hit,
                                                       sd,
                                                       state,
-                                                      state->flag,
-                                                      sc,
-                                                      false);
+                                                      sc);
 
                        kernel_path_surface_connect_light(kg, sd, emission_sd, *throughput, state, L);