Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-14 15:50:03 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-17 22:39:16 +0300
commit0e8cd14dfee9788f24854aa8f4148033ef042f51 (patch)
tree4fd7fdb358f9ef4ccdcb934025b74ee6f25598ad /intern/cycles/render/light.h
parent08670d3b8117cda608c178688f261e1204794a0d (diff)
Code refactor: use shader pointers rather than shader indexes.
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r--intern/cycles/render/light.h3
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;