diff options
author | Thomas Dinges <blender@dingto.org> | 2015-05-22 00:43:18 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-05-22 00:43:18 +0300 |
commit | a9347303688336af5c320348a311c76049ba9ca4 (patch) | |
tree | 9ab4d147b5d7e68fa60cd0d575f91ed58bd8903e /intern/cycles/util/util_string.h | |
parent | 53eab562b4adeae69e6a9f594455a7b2db47f769 (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/util/util_string.h')
-rw-r--r-- | intern/cycles/util/util_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/util/util_string.h b/intern/cycles/util/util_string.h index fa1671fd1ee..6cb8d8df1e1 100644 --- a/intern/cycles/util/util_string.h +++ b/intern/cycles/util/util_string.h @@ -40,8 +40,10 @@ string string_printf(const char *format, ...) PRINTF_ATTRIBUTE; bool string_iequals(const string& a, const string& b); void string_split(vector<string>& tokens, const string& str, const string& separators = "\t "); +void string_replace(string& haystack, const string& needle, const string& other); bool string_endswith(const string& s, const char *end); string string_strip(const string& s); +string string_remove_trademark(const string& s); CCL_NAMESPACE_END |