d3d11: Lie about threading support.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-11-14 17:31:19 +01:00 committed by Alexandre Julliard
parent 685246b4a1
commit 2428a9d237
1 changed files with 5 additions and 2 deletions

View File

@ -2780,8 +2780,11 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFeatureSupport(ID3D11Device *
return E_INVALIDARG;
}
threading_data->DriverConcurrentCreates = FALSE;
threading_data->DriverCommandLists = FALSE;
/* We lie about the threading support to make Tomb Raider 2013 and
* Deus Ex: Human Revolution happy. */
FIXME("Returning fake threading support data.\n");
threading_data->DriverConcurrentCreates = TRUE;
threading_data->DriverCommandLists = TRUE;
return S_OK;
}
case D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS: