[d3d8] Disable z-buffer discarding for depth stencil surfaces

This commit is contained in:
WinterSnowfall 2025-01-10 20:56:14 +02:00 committed by Robin Kertels
parent b61ea1db76
commit 20b047600f

View file

@ -510,7 +510,7 @@ namespace dxvk {
d3d9::D3DFORMAT(Format), d3d9::D3DFORMAT(Format),
d3d9::D3DMULTISAMPLE_TYPE(MultiSample), d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
0, 0,
true, // TODO: CreateDepthStencilSurface Discard FALSE, // z-buffer discarding is not used in D3D8
&pSurf9, &pSurf9,
NULL); NULL);