diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 3968ac76b..8b39fb84a 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -1668,7 +1668,7 @@ void MainWindow::setupAdditionalUi() m_ui.menuSettingsLanguage->addAction(action); action->setData(QString::fromLatin1(code)); - connect(action, &QAction::triggered, [this, action]() { + connect(action, &QAction::triggered, [action]() { const QString new_language = action->data().toString(); Host::ChangeLanguage(new_language.toUtf8().constData()); }); diff --git a/src/util/vulkan_texture.cpp b/src/util/vulkan_texture.cpp index 2884af195..9f3863770 100644 --- a/src/util/vulkan_texture.cpp +++ b/src/util/vulkan_texture.cpp @@ -473,7 +473,8 @@ void VulkanTexture::TransitionToLayout(Layout layout) void VulkanTexture::TransitionToLayout(VkCommandBuffer command_buffer, Layout new_layout) { - if (m_layout == new_layout) + // Need a barrier inbetween multiple self transfers. + if (m_layout == new_layout && new_layout != Layout::TransferSelf) return; TransitionSubresourcesToLayout(command_buffer, 0, m_layers, 0, m_levels, m_layout, new_layout);