=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi: Return DXGI_ERROR_SDK_COMPONENT_MISSING from DXGIGetDebugInterface1().

Alexandre Julliard julliard at winehq.org
Thu Aug 16 13:42:48 CDT 2018


Module: wine
Branch: master
Commit: a608ef1f2d9db962bcf2f47bc026144c0148ed41
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a608ef1f2d9db962bcf2f47bc026144c0148ed41

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Aug 15 12:03:23 2018 +0200

dxgi: Return DXGI_ERROR_SDK_COMPONENT_MISSING from DXGIGetDebugInterface1().

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/dxgi/dxgi_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dxgi/dxgi_main.c b/dlls/dxgi/dxgi_main.c
index cd2c39f..83c3f37 100644
--- a/dlls/dxgi/dxgi_main.c
+++ b/dlls/dxgi/dxgi_main.c
@@ -253,6 +253,6 @@ HRESULT WINAPI DXGIGetDebugInterface1(UINT flags, REFIID iid, void **debug)
 {
     TRACE("flags %#x, iid %s, debug %p.\n", flags, debugstr_guid(iid), debug);
 
-    WARN("Returning E_NOINTERFACE.\n");
-    return E_NOINTERFACE;
+    WARN("Returning DXGI_ERROR_SDK_COMPONENT_MISSING.\n");
+    return DXGI_ERROR_SDK_COMPONENT_MISSING;
 }




More information about the wine-cvs mailing list