mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
GPU/Vulkan: End render pass in ClearDisplay()
Fixes crash on Mesa/radv.
This commit is contained in:
parent
1e6d50e4dc
commit
2cecb8bbdb
|
@ -909,6 +909,7 @@ void GPU_HW_Vulkan::SetScissorFromDrawingArea()
|
|||
void GPU_HW_Vulkan::ClearDisplay()
|
||||
{
|
||||
GPU_HW::ClearDisplay();
|
||||
EndRenderPass();
|
||||
|
||||
VkCommandBuffer cmdbuf = g_vulkan_context->GetCurrentCommandBuffer();
|
||||
m_display_texture.TransitionToLayout(cmdbuf, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL);
|
||||
|
|
Loading…
Reference in a new issue