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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-08 01:00:49 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-08 01:00:49 +0400
commit204113b791a8eea6087de61199df1d5811055244 (patch)
tree16feb83be39dba028f83a233f367cfdb72c8f342 /intern/cycles/device/device.h
parentb51908b913f318986a91c766980ed01010c5249a (diff)
Fix #33107: cycles fixed threads 1 was still having two cores do work,
because main thread works as well.
Diffstat (limited to 'intern/cycles/device/device.h')
-rw-r--r--intern/cycles/device/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h
index 95da0a89833..9840687b76a 100644
--- a/intern/cycles/device/device.h
+++ b/intern/cycles/device/device.h
@@ -134,7 +134,7 @@ public:
virtual int device_number(Device *sub_device) { return 0; }
/* static */
- static Device *create(DeviceInfo& info, Stats &stats, bool background = true, int threads = 0);
+ static Device *create(DeviceInfo& info, Stats &stats, bool background = true);
static DeviceType type_from_string(const char *name);
static string string_from_type(DeviceType type);