From 3fba620858fa5bf44bec3124c61f6cc2e40356b0 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 28 Jul 2015 13:51:10 +0200 Subject: Cycles: Prepare for more image extension types support Basically just replace boolean periodic flag with extension type enum in the device API. --- intern/cycles/device/device_opencl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/device/device_opencl.cpp') 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); -- cgit v1.2.3