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:
Diffstat (limited to 'intern/cycles/render/image.h')
-rw-r--r--intern/cycles/render/image.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/render/image.h b/intern/cycles/render/image.h
index 82f3e2759c6..734bb83f774 100644
--- a/intern/cycles/render/image.h
+++ b/intern/cycles/render/image.h
@@ -142,7 +142,7 @@ class ImageHandle {
ImageMetaData metadata();
int svm_slot(const int tile_index = 0) const;
- device_memory *image_memory(const int tile_index = 0) const;
+ device_texture *image_memory(const int tile_index = 0) const;
protected:
vector<int> tile_slots;
@@ -191,7 +191,7 @@ class ImageManager {
bool builtin;
string mem_name;
- device_memory *mem;
+ device_texture *mem;
int users;
thread_mutex mutex;
@@ -212,8 +212,8 @@ class ImageManager {
void load_image_metadata(Image *img);
- template<TypeDesc::BASETYPE FileFormat, typename StorageType, typename DeviceType>
- bool file_load_image(Image *img, int texture_limit, device_vector<DeviceType> &tex_img);
+ template<TypeDesc::BASETYPE FileFormat, typename StorageType>
+ bool file_load_image(Image *img, int texture_limit);
void device_load_image(Device *device, Scene *scene, int slot, Progress *progress);
void device_free_image(Device *device, int slot);