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

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-05-25 12:09:13 +02:00 committed by Alexandre Julliard
parent 16ba7f4444
commit aa49a324fe
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}