diff --git a/src/d3d8/d3d8_device.cpp b/src/d3d8/d3d8_device.cpp index d84c779b1..a5aa184ba 100644 --- a/src/d3d8/d3d8_device.cpp +++ b/src/d3d8/d3d8_device.cpp @@ -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(m_patchSegments);