D3D12Device: Fix incorrect RP end in CommitClear()

This commit is contained in:
Stenzek 2023-12-08 14:33:05 +10:00
parent 203e711d67
commit 6deb9d3072
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -553,6 +553,7 @@ void D3D12Texture::CommitClear()
return;
D3D12Device& dev = D3D12Device::GetInstance();
if (dev.InRenderPass())
dev.EndRenderPass();
ActuallyCommitClear(dev.GetCommandList());