Skip to content

Commit

Permalink
[rhi] removed mutex present
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosK92 committed Dec 10, 2024
1 parent b8cc8fd commit 2ff1c47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion runtime/RHI/Vulkan/Vulkan_Queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ namespace Spartan
present_info.pSwapchains = reinterpret_cast<VkSwapchainKHR*>(&swapchain);
present_info.pImageIndices = &image_index;

lock_guard<mutex> lock(get_mutex(this));
void* queue = RHI_Device::GetQueueRhiResource(m_type);
SP_ASSERT_VK(vkQueuePresentKHR(static_cast<VkQueue>(queue), &present_info));
}
Expand Down

0 comments on commit 2ff1c47

Please sign in to comment.