From 99024aec3294f5db423d30450218040abfa5f00b Mon Sep 17 00:00:00 2001 From: Triang3l Date: Thu, 4 Mar 2021 18:32:27 +0300 Subject: [PATCH] [Vulkan] Fix primary_queue_mutex usage in vulkan_graphics_system.cc --- src/xenia/gpu/vulkan/vulkan_graphics_system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/vulkan/vulkan_graphics_system.cc b/src/xenia/gpu/vulkan/vulkan_graphics_system.cc index 57c79912b..0980e7f9e 100644 --- a/src/xenia/gpu/vulkan/vulkan_graphics_system.cc +++ b/src/xenia/gpu/vulkan/vulkan_graphics_system.cc @@ -157,7 +157,7 @@ std::unique_ptr VulkanGraphicsSystem::Capture() { // Submit commands and wait. if (status == VK_SUCCESS) { - std::lock_guard(device_->primary_queue_mutex()); + std::lock_guard lock(device_->primary_queue_mutex()); VkSubmitInfo submit_info = { VK_STRUCTURE_TYPE_SUBMIT_INFO, nullptr,