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>2015-10-05 10:52:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-10-05 10:52:07 +0300
commita771e27b8424b458b818e36cb68d6c426379922c (patch)
treedb4c0087763acfcf5d3a27405d293ef6e700d4d5
parent2a2e12772cccd119e7a8771926730f4e66585fe8 (diff)
Cycles: Fix for builtin textures when linking against OSL 1.6.8
Issue was caused by changed function signature. This is still not really full support of new OSL API since we don't store anything in the derivatives which could confuse mipmapping.
-rw-r--r--intern/cycles/kernel/osl/osl_services.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_services.h b/intern/cycles/kernel/osl/osl_services.h
index cb6f2311ad8..1734eaad261 100644
--- a/intern/cycles/kernel/osl/osl_services.h
+++ b/intern/cycles/kernel/osl/osl_services.h
@@ -104,7 +104,7 @@ public:
const OSL::Vec3 &dPdx, const OSL::Vec3 &dPdy,
const OSL::Vec3 &dPdz, int nchannels, float *result);
-#if OSL_LIBRARY_VERSION_CODE >= 10700
+#if OSL_LIBRARY_VERSION_CODE >= 10600
bool texture(ustring filename,
TextureHandle * /*texture_handle*/,
TexturePerthread * /*texture_thread_info*/,