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
committerJeroen Bakker <j.bakker@atmind.nl>2016-06-08 22:45:40 +0300
commit64c9b93513b4f3e8a3c3ed19fe6fa8176334446a (patch)
tree70558c3cfbfde40e727c5a414d7660e668c83d2e /intern/cycles/render/light.h
parent40453dbca1ee07dc1ecc4a8ad148b8c20e622270 (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;