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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-11-27 18:48:51 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2014-11-28 13:51:09 +0300
commitaf18fb8036f913078e1215961f6a953a3d808d06 (patch)
tree35325bf5009d02f260f452e84b861529c6569f0d /intern/cycles
parent5561a0bbef314689f0375783a21346d029dceed3 (diff)
Cycles: Code cleanup, remove dead code
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/kernel/osl/osl_closures.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/kernel/osl/osl_closures.cpp b/intern/cycles/kernel/osl/osl_closures.cpp
index cc9942b024e..bae9cb2f377 100644
--- a/intern/cycles/kernel/osl/osl_closures.cpp
+++ b/intern/cycles/kernel/osl/osl_closures.cpp
@@ -189,11 +189,7 @@ static void register_closure(OSL::ShadingSystem *ss, const char *name, int id, O
/* optimization: it's possible to not use a prepare function at all and
* only initialize the actual class when accessing the closure component
* data, but then we need to map the id to the class somehow */
-#ifdef CLOSURE_PREPARE
- ss->register_closure(name, id, params, prepare, NULL, NULL);
-#else
ss->register_closure(name, id, params, prepare, NULL);
-#endif
}
void OSLShader::register_closures(OSLShadingSystem *ss_)