Cleanup: refactor passing of OSL kernel globals for upcoming changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user