diff options
Diffstat (limited to 'intern/cycles/kernel/integrator/init_from_camera.h')
-rw-r--r-- | intern/cycles/kernel/integrator/init_from_camera.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/integrator/init_from_camera.h b/intern/cycles/kernel/integrator/init_from_camera.h index e89ab3991c7..a2fbf551241 100644 --- a/intern/cycles/kernel/integrator/init_from_camera.h +++ b/intern/cycles/kernel/integrator/init_from_camera.h @@ -30,13 +30,13 @@ ccl_device_inline void integrate_camera_sample(KernelGlobals kg, filter_v = 0.5f; } else { - path_rng_2D(kg, rng_hash, sample, PRNG_FILTER_U, &filter_u, &filter_v); + path_rng_2D(kg, rng_hash, sample, PRNG_FILTER, &filter_u, &filter_v); } /* Depth of field sampling. */ float lens_u = 0.0f, lens_v = 0.0f; if (kernel_data.cam.aperturesize > 0.0f) { - path_rng_2D(kg, rng_hash, sample, PRNG_LENS_U, &lens_u, &lens_v); + path_rng_2D(kg, rng_hash, sample, PRNG_LENS, &lens_u, &lens_v); } /* Motion blur time sampling. */ |