mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-14 15:27:19 +00:00
D3D12Device: Fix incorrect RP end in CommitClear()
This commit is contained in:
parent
203e711d67
commit
6deb9d3072
@ -553,6 +553,7 @@ void D3D12Texture::CommitClear()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
D3D12Device& dev = D3D12Device::GetInstance();
|
D3D12Device& dev = D3D12Device::GetInstance();
|
||||||
|
if (dev.InRenderPass())
|
||||||
dev.EndRenderPass();
|
dev.EndRenderPass();
|
||||||
|
|
||||||
ActuallyCommitClear(dev.GetCommandList());
|
ActuallyCommitClear(dev.GetCommandList());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user