Set quality to 0 when making array equivalent of MSAA texture

This commit is contained in:
baldurk
2020-02-15 00:33:06 +00:00
parent f7cb742a4c
commit 7303c54870
+1
View File
@@ -877,6 +877,7 @@ ResourceId D3D11Replay::RenderOverlay(ResourceId texid, CompType typeCast, Float
overrideDepthDesc = texdesc;
overrideDepthDesc.ArraySize = texdesc.SampleDesc.Count;
overrideDepthDesc.SampleDesc.Count = 1;
overrideDepthDesc.SampleDesc.Quality = 0;
depthTex = ((ID3D11Texture2D *)res);
D3D11_DEPTH_STENCIL_VIEW_DESC dsvDesc;