From cd77b2a9be23b9a34d2d6a5cb566ac3873ff29b5 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 11 Jan 2024 21:42:31 +0100 Subject: [PATCH] vkd3d-utils: Use debugstr_hresult() in D3DStripShader(). --- 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 09fa8fae..349523e0 100644 --- a/libs/vkd3d-utils/vkd3d_utils_main.c +++ b/libs/vkd3d-utils/vkd3d_utils_main.c @@ -911,7 +911,7 @@ HRESULT WINAPI D3DStripShader(const void *data, SIZE_T data_size, UINT flags, ID } 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); vkd3d_shader_free_shader_code(&dst_dxbc);