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

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


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

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

d3d12: Return DXGI_ERROR_SDK_COMPONENT_MISSING from D3D12GetDebugInterface().

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/d3d12/d3d12_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d12/d3d12_main.c b/dlls/d3d12/d3d12_main.c
index 324ad3c..f0c48ee 100644
--- a/dlls/d3d12/d3d12_main.c
+++ b/dlls/d3d12/d3d12_main.c
@@ -39,9 +39,10 @@ WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
 {
-    FIXME("iid %s, debug %p stub!\n", debugstr_guid(iid), debug);
+    TRACE("iid %s, debug %p.\n", debugstr_guid(iid), debug);
 
-    return E_NOTIMPL;
+    WARN("Returning DXGI_ERROR_SDK_COMPONENT_MISSING.\n");
+    return DXGI_ERROR_SDK_COMPONENT_MISSING;
 }
 
 static HRESULT d3d12_signal_event(HANDLE event)




More information about the wine-cvs mailing list