Core: Use readable names for failed backends.

This commit is contained in:
Unknown W. Brackets committed 2019-06-22 12:48:56 -07:00
1 parent 3cb1c33fd9
commit df6c5f38dc
4 files changed
+32 -4

No files matched your search

+1 -1
View File
@@ -550,7 +550,7 @@ int Config::NextValidBackend() {
SplitString(sFailedGPUBackends, ',', split);
for (const auto &str : split) {
if (!str.empty() && str != "ALL") {
failed.insert(atoi(str.c_str()));
failed.insert((int)GPUBackendFromString(str));
}
}