=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d12: Print message about Vulkan configuration problem to winediag channel.

Alexandre Julliard julliard at winehq.org
Fri May 25 13:41:12 CDT 2018


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Fri May 25 12:09:13 2018 +0200

d3d12: Print message about Vulkan configuration problem to winediag channel.

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/d3d12/d3d12_main.c b/dlls/d3d12/d3d12_main.c
index c1dc8c8..71eb1f9 100644
--- a/dlls/d3d12/d3d12_main.c
+++ b/dlls/d3d12/d3d12_main.c
@@ -35,6 +35,7 @@
 #include <vkd3d.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3d12);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
 {
@@ -117,7 +118,7 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_fe
 
     if (!(vk_funcs = get_vk_funcs()))
     {
-        ERR("Failed to get Wine Vulkan driver.\n");
+        ERR_(winediag)("Failed to load Wine Vulkan driver.\n");
         return E_FAIL;
     }
 




More information about the wine-cvs mailing list