mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Only recreate depth on resize for D3D12 if depth was originally used
This commit is contained in:
@@ -395,7 +395,8 @@ void D3D12Replay::SetOutputWindowDimensions(uint64_t id, int32_t w, int32_t h)
|
||||
outw.height = h;
|
||||
|
||||
outw.MakeRTV(false);
|
||||
outw.MakeDSV();
|
||||
if(outw.depth)
|
||||
outw.MakeDSV();
|
||||
|
||||
outw.bbIdx = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user