diff options
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r-- | intern/cycles/render/light.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h index 15038d0a920..24ca0157eba 100644 --- a/intern/cycles/render/light.h +++ b/intern/cycles/render/light.h @@ -27,6 +27,7 @@ CCL_NAMESPACE_BEGIN class Device; class DeviceScene; class Progress; +class Shader; class Scene; class Light { @@ -59,7 +60,7 @@ public: bool is_portal; bool is_enabled; - int shader; + Shader *shader; int samples; int max_bounces; |