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

This commit is contained in:
Henri Verbeet 2024-01-11 21:41:09 +01:00 committed by Alexandre Julliard
parent 2476d6bd6c
commit 1b3aa005db
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

@ -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)