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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-07 11:15:30 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-07 11:15:30 +0300
commit772a3dab21459637da69132aaac6b7b31173161f (patch)
treedc0e98f149bb0d8cca48658922f085a29ab4ff4d /intern/cycles/render/osl.h
parent3d313c9e5cad1020f0266a9ef6d83db9860ab0ec (diff)
Cycles: Update some types used form OSL
Some types were deprecated back in 2013, better to be prepared earlier for those types being removed from upstream.
Diffstat (limited to 'intern/cycles/render/osl.h')
-rw-r--r--intern/cycles/render/osl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/osl.h b/intern/cycles/render/osl.h
index 3ff37c56e50..ac985a84eef 100644
--- a/intern/cycles/render/osl.h
+++ b/intern/cycles/render/osl.h
@@ -145,7 +145,7 @@ public:
private:
#ifdef WITH_OSL
string id(ShaderNode *node);
- OSL::ShadingAttribStateRef compile_type(Shader *shader, ShaderGraph *graph, ShaderType type);
+ OSL::ShaderGroupRef compile_type(Shader *shader, ShaderGraph *graph, ShaderType type);
bool node_skip_input(ShaderNode *node, ShaderInput *input);
string compatible_name(ShaderNode *node, ShaderInput *input);
string compatible_name(ShaderNode *node, ShaderOutput *output);