diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-04 12:53:47 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-04 12:53:47 +0400 |
commit | 6805db676d9d004c8131b13fca095b519997b768 (patch) | |
tree | ac2a241438d6eca5bb3187dbcd73a0228e1b2948 /intern/cycles/kernel/osl/osl_shader.h | |
parent | 71871463a4bb3c58bfa3c3b36019c1b3b02dcf1d (diff) |
Use one context per OSL thread. Not sure if this actually works, but the simple renderer example in OSL does it this way.
Diffstat (limited to 'intern/cycles/kernel/osl/osl_shader.h')
-rw-r--r-- | intern/cycles/kernel/osl/osl_shader.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/kernel/osl/osl_shader.h b/intern/cycles/kernel/osl/osl_shader.h index 815557ed203..a888335aad6 100644 --- a/intern/cycles/kernel/osl/osl_shader.h +++ b/intern/cycles/kernel/osl/osl_shader.h @@ -77,9 +77,6 @@ public: static float3 volume_eval_phase(const ShaderData *sd, const ShaderClosure *sc, const float3 omega_in, const float3 omega_out); - - /* release */ - static void release(KernelGlobals *kg, const ShaderData *sd); }; CCL_NAMESPACE_END |