summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3DCommon/Common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/D3DCommon/Common.cpp')
-rw-r--r--Source/Core/VideoBackends/D3DCommon/Common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/Common.cpp b/Source/Core/VideoBackends/D3DCommon/Common.cpp
index b84fc4a4df..a80a3d6821 100644
--- a/Source/Core/VideoBackends/D3DCommon/Common.cpp
+++ b/Source/Core/VideoBackends/D3DCommon/Common.cpp
@@ -110,7 +110,7 @@ std::vector<std::string> GetAdapterNames()
std::string name;
DXGI_ADAPTER_DESC desc;
if (SUCCEEDED(adapter->GetDesc(&desc)))
- name = UTF16ToUTF8(desc.Description);
+ name = WStringToUTF8(desc.Description);
adapters.push_back(std::move(name));
}