=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Lie about threading support.

Alexandre Julliard julliard at winehq.org
Tue Nov 15 17:56:15 CST 2016


Module: wine
Branch: master
Commit: 2428a9d237149c932aaae7ba07387af413b985c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2428a9d237149c932aaae7ba07387af413b985c4

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Nov 14 17:31:19 2016 +0100

d3d11: Lie about threading support.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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:




More information about the wine-cvs mailing list