mirror of
https://github.com/WinDurango/dxvk.git
synced 2026-02-04 02:41:22 +01:00
[d3d9] Forbid disabling SWVP on a pure SWVP device
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user