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:
parent
3fddc364ee
commit
4a55047dde
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user