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

[d3d8] Properly return the value of D3DRS_SOFTWAREVERTEXPROCESSING

This commit is contained in:
WinterSnowfall 2025-01-12 18:51:42 +02:00 committed by Robin Kertels
parent d846e89a4b
commit e2a078d534

View File

@ -1678,7 +1678,8 @@ namespace dxvk {
} break;
case D3DRS_SOFTWAREVERTEXPROCESSING:
return GetD3D9()->GetSoftwareVertexProcessing();
*pValue = GetD3D9()->GetSoftwareVertexProcessing();
return D3D_OK;
case D3DRS_PATCHSEGMENTS:
*pValue = bit::cast<DWORD>(m_patchSegments);