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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-24 15:05:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-24 15:05:02 +0300
commit9163fc05a7c1cdb39aca96d120e4a2b52a68fa5d (patch)
treede6188e3c33e38ce6203cf62fa47ec89856bcf42 /intern/cycles/device/device.cpp
parent35c3e7b52283517aa9f43798f691c1881a89d386 (diff)
Cycles: Fix typo in flags check
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r--intern/cycles/device/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp
index fd52b11c06d..02e9b0551c9 100644
--- a/intern/cycles/device/device.cpp
+++ b/intern/cycles/device/device.cpp
@@ -313,7 +313,7 @@ vector<DeviceInfo>& Device::available_devices()
{
static vector<DeviceInfo> devices;
- if(need_types_update) {
+ if(need_devices_update) {
devices.clear();
#ifdef WITH_CUDA
if(device_cuda_init())
@@ -335,7 +335,7 @@ vector<DeviceInfo>& Device::available_devices()
device_network_info(devices);
#endif
- need_types_update = false;
+ need_devices_update = false;
}
return devices;