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

This commit is contained in:
WinterSnowfall 2025-01-10 20:56:14 +02:00
parent 36a841d751
commit ce610ce584
No known key found for this signature in database

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);