diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-02-26 19:31:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-11 19:07:17 +0300 |
commit | f01bc597a8e6bf5df19f1af0c422918c96b25e41 (patch) | |
tree | 14e118d55e360186227c7d04d4f1ab6052acf2bf /intern/cycles/device/device_memory.cpp | |
parent | 9910803574c4472e348ce140a49fc4fb212f9ee7 (diff) |
Cleanup: stop encoding image data type in slot index
This is legacy code from when we had a fixed number of textures.
Diffstat (limited to 'intern/cycles/device/device_memory.cpp')
-rw-r--r-- | intern/cycles/device/device_memory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/device/device_memory.cpp b/intern/cycles/device/device_memory.cpp index 3a99a49dffc..f22b91f3fa1 100644 --- a/intern/cycles/device/device_memory.cpp +++ b/intern/cycles/device/device_memory.cpp @@ -31,6 +31,7 @@ device_memory::device_memory(Device *device, const char *name, MemoryType type) data_depth(0), type(type), name(name), + image_data_type(IMAGE_DATA_NUM_TYPES), interpolation(INTERPOLATION_NONE), extension(EXTENSION_REPEAT), device(device), |