* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.
This commit is contained in:
Thomas Dinges
2013-02-21 17:10:14 +00:00
parent 3df2b93c6d
commit a239700f43
2 changed files with 2 additions and 10 deletions

View File

@@ -67,11 +67,6 @@ public:
task_pool.stop(); task_pool.stop();
} }
bool support_advanced_shading()
{
return true;
}
void mem_alloc(device_memory& mem, MemoryType type) void mem_alloc(device_memory& mem, MemoryType type)
{ {
mem.device_pointer = mem.data_pointer; mem.device_pointer = mem.data_pointer;

View File

@@ -222,11 +222,6 @@ public:
RPCSend snd(socket, "task_cancel"); RPCSend snd(socket, "task_cancel");
snd.write(); 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) 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.description = "Network Device";
info.id = "NETWORK"; info.id = "NETWORK";
info.num = 0; info.num = 0;
info.advanced_shading = true; /* todo: get this info from device */
info.pack_images = false;
devices.push_back(info); devices.push_back(info);
} }