diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-28 14:51:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-28 15:14:24 +0300 |
commit | 3fba620858fa5bf44bec3124c61f6cc2e40356b0 (patch) | |
tree | 41aaddb8ad9fdd6b964a62b85129a703d626d5f8 /intern/cycles/device/device.h | |
parent | 29ebb56f4d8b99ca3038c7a3d0ed794ef77ee7f9 (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.h')
-rw-r--r-- | intern/cycles/device/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h index ea1e20d1500..3c0fb880948 100644 --- a/intern/cycles/device/device.h +++ b/intern/cycles/device/device.h @@ -173,10 +173,10 @@ public: virtual void tex_alloc(const char * /*name*/, device_memory& /*mem*/, InterpolationType interpolation = INTERPOLATION_NONE, - bool periodic = false) + ExtensionType extension = EXTENSION_REPEAT) { (void)interpolation; /* Ignored. */ - (void)periodic; /* Ignored. */ + (void)extension; /* Ignored. */ }; virtual void tex_free(device_memory& /*mem*/) {}; |