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>2011-10-16 22:54:27 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-16 22:54:27 +0400
commit5fd67a3ba5ad10a932a0a1b4cbd3fe37691fbae1 (patch)
tree8dd8bde6ac10df92c30cf4a66d168eedef396e82 /intern/cycles/device/device.cpp
parent33691eb0e7d0c6b7aa47f3b8640b1a332004de6d (diff)
Cycles: enable multi closure sampling and transparent shadows only on CPU and
CUDA cards with shader model >= 2 for now (GTX 4xx, 5xx, ..). The CUDA compiler can't handle the increased kernel size currently.
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r--intern/cycles/device/device.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp
index 01c50817709..f43ccffe461 100644
--- a/intern/cycles/device/device.cpp
+++ b/intern/cycles/device/device.cpp
@@ -157,8 +157,6 @@ Device *Device::create(DeviceType type, bool background, int threads)
return NULL;
}
- device->device_type = type;
-
return device;
}