summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-06 15:03:00 +0200
committerLioncash <mathew1800@gmail.com>2020-07-06 15:07:03 +0200
commitbe06b21f7bf23a1a5f9388a54c68309eea888063 (patch)
tree8dfd20817dd1fbccd735f27339c38893eb573367
parentMerge pull request #4194 from ReinUsesLisp/fix-shader-cache (diff)
downloadyuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar.gz
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar.bz2
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar.lz
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar.xz
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.tar.zst
yuzu-be06b21f7bf23a1a5f9388a54c68309eea888063.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 304625cd7..e8c8f5f20 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -112,7 +112,7 @@ void ConfigureGraphics::UpdateDeviceComboBox() {
enabled = false;
break;
case Settings::RendererBackend::Vulkan:
- for (const auto device : vulkan_devices) {
+ for (const auto& device : vulkan_devices) {
ui->device->addItem(device);
}
ui->device->setCurrentIndex(vulkan_device);