Module: wine Branch: master Commit: 2428a9d237149c932aaae7ba07387af413b985c4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2428a9d237149c932aaae7ba07...
Author: Józef Kucia jkucia@codeweavers.com Date: Mon Nov 14 17:31:19 2016 +0100
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
---
dlls/d3d11/device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index 72e6a71..99991b4 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -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: