diff options
Diffstat (limited to 'intern/cycles/kernel/integrator/integrator_volume_stack.h')
-rw-r--r-- | intern/cycles/kernel/integrator/integrator_volume_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/integrator/integrator_volume_stack.h b/intern/cycles/kernel/integrator/integrator_volume_stack.h index d53070095f0..01ebf8376b1 100644 --- a/intern/cycles/kernel/integrator/integrator_volume_stack.h +++ b/intern/cycles/kernel/integrator/integrator_volume_stack.h @@ -72,7 +72,7 @@ ccl_device void volume_stack_enter_exit(INTEGRATOR_STATE_ARGS, } /* If we exceed the stack limit, ignore. */ - if (i >= VOLUME_STACK_SIZE - 1) { + if (i >= kernel_data.volume_stack_size - 1) { return; } |