diff options
author | Thomas Dinges <blender@dingto.org> | 2013-02-21 21:10:14 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-02-21 21:10:14 +0400 |
commit | a239700f439275df28136b846be032da70e18d70 (patch) | |
tree | 64cbd6e6e107571a3dad33eabdabdd4830e00d77 /intern/cycles/device | |
parent | 3df2b93c6d69601c75bc95ac5358957822cf4db9 (diff) |
Cycles:
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/device_cpu.cpp | 5 | ||||
-rw-r--r-- | intern/cycles/device/device_network.cpp | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp index c2ba91faf69..47f3273fdfa 100644 --- a/intern/cycles/device/device_cpu.cpp +++ b/intern/cycles/device/device_cpu.cpp @@ -67,11 +67,6 @@ public: task_pool.stop(); } - bool support_advanced_shading() - { - return true; - } - void mem_alloc(device_memory& mem, MemoryType type) { mem.device_pointer = mem.data_pointer; diff --git a/intern/cycles/device/device_network.cpp b/intern/cycles/device/device_network.cpp index f5545c3dfdf..201f04bc5d8 100644 --- a/intern/cycles/device/device_network.cpp +++ b/intern/cycles/device/device_network.cpp @@ -222,11 +222,6 @@ public: RPCSend snd(socket, "task_cancel"); snd.write(); } - - bool support_advanced_shading() - { - return true; /* todo: get this info from device */ - } }; Device *device_network_create(DeviceInfo& info, Stats &stats, const char *address) @@ -242,6 +237,8 @@ void device_network_info(vector<DeviceInfo>& devices) info.description = "Network Device"; info.id = "NETWORK"; info.num = 0; + info.advanced_shading = true; /* todo: get this info from device */ + info.pack_images = false; devices.push_back(info); } |