diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-02 16:39:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-03 16:36:20 +0300 |
commit | 08a44d29815f6b0b9b675a503829d2e2ce7f6426 (patch) | |
tree | 42c195e502875ef46a277fecef17e450e06e3d8b /intern/cycles/kernel/osl/emissive.cpp | |
parent | 45ad6cd5a785733612e0b355df7426154f262308 (diff) |
Cleanup: refactor passing of OSL kernel globals for upcoming changes
Diffstat (limited to 'intern/cycles/kernel/osl/emissive.cpp')
-rw-r--r-- | intern/cycles/kernel/osl/emissive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/emissive.cpp b/intern/cycles/kernel/osl/emissive.cpp index c29ddb13e2e..894727a5c7b 100644 --- a/intern/cycles/kernel/osl/emissive.cpp +++ b/intern/cycles/kernel/osl/emissive.cpp @@ -54,7 +54,7 @@ using namespace OSL; /// class GenericEmissiveClosure : public CClosurePrimitive { public: - void setup(ShaderData *sd, int /* path_flag */, float3 weight) + void setup(const KernelGlobals *, ShaderData *sd, int /* path_flag */, float3 weight) { emission_setup(sd, weight); } |