From e2a078d5342eba75ced873c0a80588c9d0eb51b7 Mon Sep 17 00:00:00 2001 From: WinterSnowfall Date: Sun, 12 Jan 2025 18:51:42 +0200 Subject: [PATCH] [d3d8] Properly return the value of D3DRS_SOFTWAREVERTEXPROCESSING --- src/d3d8/d3d8_device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);