diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-08 22:41:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-08 22:41:25 +0300 |
commit | 98e2135a2d5b6689788870003804f958dea54db7 (patch) | |
tree | 493420089b2287d4aef704838157439aac704d88 /intern/cycles/render/image.h | |
parent | a815e1021162b4c0f7c622e180f6283d8cf05e07 (diff) |
Fix T48380: fix for recent image manager code cleanup.
Diffstat (limited to 'intern/cycles/render/image.h')
-rw-r--r-- | intern/cycles/render/image.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/render/image.h b/intern/cycles/render/image.h index bda288cb5fc..24d6aaedf04 100644 --- a/intern/cycles/render/image.h +++ b/intern/cycles/render/image.h @@ -51,7 +51,7 @@ public: InterpolationType interpolation, ExtensionType extension, bool use_alpha); - void remove_image(int slot); + void remove_image(int flat_slot); void remove_image(const string& filename, void *builtin_data, InterpolationType interpolation, @@ -63,7 +63,7 @@ public: bool is_float_image(const string& filename, void *builtin_data, bool& is_linear); void device_update(Device *device, DeviceScene *dscene, Progress& progress); - void device_update_slot(Device *device, DeviceScene *dscene, int slot, Progress *progress); + void device_update_slot(Device *device, DeviceScene *dscene, int flat_slot, Progress *progress); void device_free(Device *device, DeviceScene *dscene); void device_free_builtin(Device *device, DeviceScene *dscene); @@ -105,7 +105,7 @@ private: bool file_load_float_image(Image *img, device_vector<float4>& tex_img); int type_index_to_flattened_slot(int slot, ImageDataType type); - int flattened_slot_to_type_index(int slot, ImageDataType *type); + int flattened_slot_to_type_index(int flat_slot, ImageDataType *type); string name_from_type(int type); void device_load_image(Device *device, DeviceScene *dscene, ImageDataType type, int slot, Progress *progess); |