mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +00:00
D3D12Device: Fix incorrect RP end in CommitClear()
This commit is contained in:
parent
203e711d67
commit
6deb9d3072
|
@ -553,7 +553,8 @@ void D3D12Texture::CommitClear()
|
|||
return;
|
||||
|
||||
D3D12Device& dev = D3D12Device::GetInstance();
|
||||
dev.EndRenderPass();
|
||||
if (dev.InRenderPass())
|
||||
dev.EndRenderPass();
|
||||
|
||||
ActuallyCommitClear(dev.GetCommandList());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue