Cycles: enable improved closure sampling, this should give less noise for mix, add
[blender.git] / intern / cycles / device / device.cpp
index f43ccffe4614afb420fbda639b99c090d530f269..01c5081770943fbed0290d3397700ffbb0420a1e 100644 (file)
@@ -157,6 +157,8 @@ Device *Device::create(DeviceType type, bool background, int threads)
                        return NULL;
        }
 
                        return NULL;
        }
 
+       device->device_type = type;
+
        return device;
 }
 
        return device;
 }