mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 22:25:42 -04:00
VulkanDevice: Fix incorrect render pass end
This commit is contained in:
parent
e739c114a4
commit
4a906fd0a0
@ -427,7 +427,8 @@ void VulkanTexture::CommitClear()
|
||||
return;
|
||||
|
||||
VulkanDevice& dev = VulkanDevice::GetInstance();
|
||||
dev.EndRenderPass();
|
||||
if (dev.InRenderPass())
|
||||
dev.EndRenderPass();
|
||||
|
||||
CommitClear(dev.GetCurrentCommandBuffer());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user