mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Don't unwrap DSV that should be passed through as wrapped
This commit is contained in:
@@ -890,11 +890,7 @@ ResourceId D3D12Replay::RenderOverlay(ResourceId texid, CompType typeHint, Debug
|
||||
Vec4f viewport(rs.views[0].Width, rs.views[0].Height);
|
||||
|
||||
if(rs.dsv.ptr)
|
||||
{
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE realDSV = Unwrap(rs.dsv);
|
||||
|
||||
list->OMSetRenderTargets(1, &rtv, TRUE, &realDSV);
|
||||
}
|
||||
list->OMSetRenderTargets(1, &rtv, TRUE, &rs.dsv);
|
||||
|
||||
list->RSSetViewports(1, &rs.views[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user