1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[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::D3DMULTISAMPLE_TYPE(MultiSample),
0,
true, // TODO: CreateDepthStencilSurface Discard
FALSE, // z-buffer discarding is not used in D3D8
&pSurf9,
NULL);