Only recreate depth on resize for D3D12 if depth was originally used

This commit is contained in:
baldurk
2023-10-30 10:22:54 +00:00
parent 8ba23ccea0
commit e16500c97f
@@ -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;
}