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-12-13 02:51:35 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-13 02:51:35 +0400
commit9e01abf7779a9272530d392767bdf9630544d519 (patch)
tree268d1a4e92e87ae6a9517cc1b9fee07822a95fc6 /intern/cycles/device/device_opencl.cpp
parent94bc2b0cffd27dc74f428aee86ca9e2782a14e0a (diff)
Cycles: require Experimental to be set to enable CUDA on cards with shader model
lower than 1.3, since we're not officially supporting these. We're already not providing CUDA binaries for these, so better make it clear when compiling from source too.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index d783ae6c174..8eaaebc6629 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -365,7 +365,7 @@ public:
return md5.get_hex();
}
- bool load_kernels()
+ bool load_kernels(bool experimental)
{
/* verify if device was initialized */
if(!device_initialized) {