diff options
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r-- | intern/cycles/render/session.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h index 89979b8c451..a662948c15b 100644 --- a/intern/cycles/render/session.h +++ b/intern/cycles/render/session.h @@ -40,7 +40,7 @@ class Scene; class SessionParams { public: - DeviceType device_type; + DeviceInfo device; bool background; string output_path; @@ -57,7 +57,6 @@ public: SessionParams() { - device_type = DEVICE_CPU; background = false; output_path = ""; @@ -74,7 +73,8 @@ public: } bool modified(const SessionParams& params) - { return !(device_type == params.device_type + { return !(device.type == params.device.type + && device.id == params.device.id && background == params.background && output_path == params.output_path /* && samples == params.samples */ |