1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-04 10:29:15 +01:00

[d3d8] Don't forward D3DRS_ZVISIBLE changes to d3d9

This commit is contained in:
WinterSnowfall 2025-01-10 22:44:38 +02:00 committed by Robin Kertels
parent 470764e24c
commit 088915e24c

View File

@ -1596,8 +1596,7 @@ namespace dxvk {
// Not supported by D3D8.
case D3DRS_ZVISIBLE:
stateChange = false;
break;
return D3D_OK;
// TODO: Not implemented by D9VK. Try anyway.
case D3DRS_EDGEANTIALIAS:
@ -1659,7 +1658,8 @@ namespace dxvk {
// Not supported by D3D8.
case D3DRS_ZVISIBLE:
break;
*pValue = 0;
return D3D_OK;
case D3DRS_EDGEANTIALIAS:
State9 = d3d9::D3DRS_ANTIALIASEDLINEENABLE;