https://bugs.winehq.org/show_bug.cgi?id=47391 --- Comment #8 from Alan <alan1010035(a)gmail.com> --- (In reply to joaopa from comment #7)
I think something as hr = IDirect3DDevice8_SetRenderState(device, D3DRS_ZENABLE, 0x55); /* test a nonzero dummy value */ ok(SUCCEEDED(hr), "Non zero dummy value should enable Z-buffering, hr %#lx.\n", hr);
in https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/d3d8/tests/visual. c#L8634
should be enough to prove the fix is correct. Obviously, you will have to do the same for all the directx versions.
Surely, someone will confirm or infirm what I wrote above.
tho i see hr = IDirect3DDevice9_SetRenderState(device, D3DRS_ZENABLE, FALSE); ok(SUCCEEDED(hr), "Failed to disable Z test, hr %#lx.\n", hr); many times in the test file with the same values what's the reason for that? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.