[PATCH 4/7] d3d11: Lie about threading support.

Józef Kucia joseph.kucia at gmail.com
Mon Nov 14 10:31:19 CST 2016


From: Józef Kucia <jkucia at codeweavers.com>

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---

This lets to start Tomb Raider 2013 and shouldn't be too harmful.

---
 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:
-- 
2.10.2




More information about the wine-patches mailing list