mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
st/nine: Always return OK on SetSoftwareVertexProcessing
This would need more tests to know exactly if INVALIDCALL can be returned in some situations. It seems some games expect D3D_OK, even when noop and illegal. Fixes: https://github.com/iXit/Mesa-3D/issues/302 https://github.com/iXit/Mesa-3D/issues/338 Signed-off-by: Axel Davy <davyaxel0@gmail.com>
This commit is contained in:
parent
d9a4025fa3
commit
1fc0714039
1 changed files with 1 additions and 1 deletions
|
|
@ -2716,7 +2716,7 @@ NineDevice9_SetSoftwareVertexProcessing( struct NineDevice9 *This,
|
|||
nine_context_set_swvp(This, bSoftware);
|
||||
return D3D_OK;
|
||||
} else
|
||||
return D3DERR_INVALIDCALL; /* msdn. TODO: check in practice */
|
||||
return D3D_OK; /* msdn seems to indicate INVALIDCALL, but at least Halo expects OK */
|
||||
}
|
||||
|
||||
BOOL NINE_WINAPI
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue