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

[d3d9] Forbid disabling SWVP on a pure SWVP device

This commit is contained in:
Robin Kertels 2023-05-26 03:46:15 +02:00 committed by Joshie
parent 3fddc364ee
commit 4a55047dde

View File

@ -2463,6 +2463,9 @@ namespace dxvk {
if (bSoftware && !CanSWVP())
return D3DERR_INVALIDCALL;
if (!bSoftware && (m_behaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING))
return D3DERR_INVALIDCALL;
m_isSWVP = bSoftware;
return D3D_OK;