From 64c9b93513b4f3e8a3c3ed19fe6fa8176334446a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 14 May 2016 14:50:03 +0200 Subject: Code refactor: use shader pointers rather than shader indexes. --- intern/cycles/render/light.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intern/cycles/render/light.h') 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; -- cgit v1.2.3