vkd3d-utils: Use debugstr_hresult() in D3DCreateBlob().

This commit is contained in:
Henri Verbeet 2024-01-11 21:39:25 +01:00 committed by Alexandre Julliard
parent cd9610bbe0
commit 2476d6bd6c
Notes: Alexandre Julliard 2024-01-17 22:44:17 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/567

View File

@ -619,7 +619,7 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob)
if (FAILED(hr = vkd3d_blob_create(data, data_size, blob))) if (FAILED(hr = vkd3d_blob_create(data, data_size, blob)))
{ {
WARN("Failed to create blob object, hr %#x.\n", hr); WARN("Failed to create blob object, hr %s.\n", debugstr_hresult(hr));
vkd3d_free(data); vkd3d_free(data);
} }
return hr; return hr;