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:
authorThomas Dinges <blender@dingto.org>2015-05-22 00:43:18 +0300
committerThomas Dinges <blender@dingto.org>2015-05-22 00:43:18 +0300
commita9347303688336af5c320348a311c76049ba9ca4 (patch)
tree9ab4d147b5d7e68fa60cd0d575f91ed58bd8903e /intern/cycles/device/device_opencl.cpp
parent53eab562b4adeae69e6a9f594455a7b2db47f769 (diff)
Cycles: Remove TM / R and whitespace from OpenCL device names.
Was already done for CPU devices, now we also do this for OpenCL.
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 67ed1c776f4..88c2a2f58c3 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -3416,7 +3416,7 @@ void device_opencl_info(vector<DeviceInfo>& devices)
DeviceInfo info;
info.type = DEVICE_OPENCL;
- info.description = string(name);
+ info.description = string_remove_trademark(string(name));
info.num = num_base + num;
info.id = string_printf("OPENCL_%d", info.num);
/* we don't know if it's used for display, but assume it is */