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-07-28 14:51:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-28 15:14:24 +0300
commit3fba620858fa5bf44bec3124c61f6cc2e40356b0 (patch)
tree41aaddb8ad9fdd6b964a62b85129a703d626d5f8 /intern/cycles/device/device_opencl.cpp
parent29ebb56f4d8b99ca3038c7a3d0ed794ef77ee7f9 (diff)
Cycles: Prepare for more image extension types support
Basically just replace boolean periodic flag with extension type enum in the device API.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 0cc49e846cc..fee9a8a803d 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -1179,7 +1179,7 @@ public:
void tex_alloc(const char *name,
device_memory& mem,
InterpolationType /*interpolation*/,
- bool /*periodic*/)
+ ExtensionType /*extension*/)
{
VLOG(1) << "Texture allocate: " << name << ", " << mem.memory_size() << " bytes.";
mem_alloc(mem, MEM_READ_ONLY);