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:
authorThomas Dinges <blender@dingto.org>2016-02-11 15:57:39 +0300
committerThomas Dinges <blender@dingto.org>2016-02-11 15:58:50 +0300
commit164dfbeb5039f5ac6c95d331049f7ea20ef5edef (patch)
treeab7f48d8ef7d4171fe1cad81d85720e5483f40a8 /intern/cycles/kernel/osl/osl_closures.h
parent1e29849da02a092fbbcabca211bab7bd30dc0bf9 (diff)
Cycles: Remove some ifdefs for OSL < 1.7.1.
That means that we now only support OSL 1.7.1 or newer. Please update libs or re-run install-depsh.sh.
Diffstat (limited to 'intern/cycles/kernel/osl/osl_closures.h')
-rw-r--r--intern/cycles/kernel/osl/osl_closures.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/intern/cycles/kernel/osl/osl_closures.h b/intern/cycles/kernel/osl/osl_closures.h
index 526c03557f7..1578d06cd56 100644
--- a/intern/cycles/kernel/osl/osl_closures.h
+++ b/intern/cycles/kernel/osl/osl_closures.h
@@ -80,11 +80,6 @@ void name(RendererServices *, int id, void *data) \
#define TO_COLOR3(v) OSL::Color3(v.x, v.y, v.z)
#define TO_FLOAT3(v) make_float3(v[0], v[1], v[2])
-#if OSL_LIBRARY_VERSION_CODE < 10700
-# undef CLOSURE_STRING_KEYPARAM
-# define CLOSURE_STRING_KEYPARAM(st, fld, key) { TypeDesc::TypeString, 0, key, 0 }
-#endif
-
/* Closure */
class CClosurePrimitive {
@@ -105,9 +100,7 @@ public:
Category category;
-#if OSL_LIBRARY_VERSION_CODE >= 10700
OSL::ustring label;
-#endif
};
/* BSDF */