[PATCH 1/4] dxgi: Return S_OK in dxgi_factory_MakeWindowAssociation() stub.

Józef Kucia jkucia at codeweavers.com
Thu Feb 11 18:27:42 CST 2016


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
This allows to run Divekick in plain Wine and shouldn't be more harmful than the current stub.
---
 dlls/dxgi/factory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index 5da45f3..5956e62 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -165,7 +165,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_MakeWindowAssociation(IDXGIFactory
 {
     FIXME("iface %p, window %p, flags %#x stub!\n", iface, window, flags);
 
-    return E_NOTIMPL;
+    return S_OK;
 }
 
 static HRESULT STDMETHODCALLTYPE dxgi_factory_GetWindowAssociation(IDXGIFactory1 *iface, HWND *window)
-- 
2.4.10




More information about the wine-patches mailing list