mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 21:05:46 -04:00
D3D12Device: Fix incorrect RP end in CommitClear()
This commit is contained in:
@ -553,7 +553,8 @@ void D3D12Texture::CommitClear()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
D3D12Device& dev = D3D12Device::GetInstance();
|
D3D12Device& dev = D3D12Device::GetInstance();
|
||||||
dev.EndRenderPass();
|
if (dev.InRenderPass())
|
||||||
|
dev.EndRenderPass();
|
||||||
|
|
||||||
ActuallyCommitClear(dev.GetCommandList());
|
ActuallyCommitClear(dev.GetCommandList());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user