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/background.h
parent08670d3b8117cda608c178688f261e1204794a0d (diff)
Code refactor: use shader pointers rather than shader indexes.
Diffstat (limited to 'intern/cycles/render/background.h')
-rw-r--r--intern/cycles/render/background.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/render/background.h b/intern/cycles/render/background.h
index 8bf97f5d6f7..645d002424e 100644
--- a/intern/cycles/render/background.h
+++ b/intern/cycles/render/background.h
@@ -23,6 +23,7 @@ CCL_NAMESPACE_BEGIN
class Device;
class DeviceScene;
+class Shader;
class Scene;
class Background {
@@ -34,7 +35,7 @@ public:
bool use_ao;
uint visibility;
- uint shader;
+ Shader *shader;
bool transparent;
bool need_update;