Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-26 12:22:11 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-26 12:23:48 +0400
commit4832538ad08198f88444997c55ca5ff2f9da4458 (patch)
tree6f955079a92681e03f07e05d147a957ae35b39b3 /intern
parent2854b9320254f99badf68fdf763e7101dbf153e5 (diff)
Cycles: Keep STACK_MAX_HITS private in kernel_shadow
This way adding record_all for other things becomes easier and doesn't lead to naming conflicts.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_shadow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_shadow.h b/intern/cycles/kernel/kernel_shadow.h
index 28abc86cdb1..61954282c28 100644
--- a/intern/cycles/kernel/kernel_shadow.h
+++ b/intern/cycles/kernel/kernel_shadow.h
@@ -181,6 +181,8 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, PathState *state, Ray *
return blocked;
}
+#undef STACK_MAX_HITS
+
#else
/* Shadow function to compute how much light is blocked, GPU variation.