From 1b3aa005dbf6b9f8d7eac7bf27e261d753252c47 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 11 Jan 2024 21:41:09 +0100 Subject: [PATCH] vkd3d-utils: Use debugstr_hresult() in get_blob_part(). --- libs/vkd3d-utils/vkd3d_utils_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-utils/vkd3d_utils_main.c b/libs/vkd3d-utils/vkd3d_utils_main.c index f1d6c1a5..09fa8fae 100644 --- a/libs/vkd3d-utils/vkd3d_utils_main.c +++ b/libs/vkd3d-utils/vkd3d_utils_main.c @@ -780,7 +780,7 @@ static HRESULT get_blob_part(const void *data, SIZE_T data_size, } if (FAILED(hr = D3DCreateBlob(dst_dxbc.size, blob))) - WARN("Failed to create blob, hr %#x.\n", hr); + WARN("Failed to create blob, hr %s.\n", debugstr_hresult(hr)); else memcpy(ID3D10Blob_GetBufferPointer(*blob), dst_dxbc.code, dst_dxbc.size); if (dst_dxbc.code != sections[0].data.code)