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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user