summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-04-04 21:02:35 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-04-04 21:05:22 +0200
commit33ed02a239752b7db26e89b5d707a0f28274bbc8 (patch)
tree6ec5a0a8e3fd86ade87bcf8506b8fa685e2ead7b
parentMerge pull request #6139 from Morph1984/cmake-fix-build (diff)
downloadyuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar.gz
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar.bz2
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar.lz
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar.xz
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.tar.zst
yuzu-33ed02a239752b7db26e89b5d707a0f28274bbc8.zip
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index 9ff32aec4..49acc48b2 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -227,7 +227,7 @@ void ConfigureGraphics::RetrieveVulkanDevices() try {
vulkan_devices.clear();
vulkan_devices.reserve(physical_devices.size());
for (const VkPhysicalDevice device : physical_devices) {
- const char* const name = vk::PhysicalDevice(device, dld).GetProperties().deviceName;
+ const std::string name = vk::PhysicalDevice(device, dld).GetProperties().deviceName;
vulkan_devices.push_back(QString::fromStdString(name));
}