mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-utils: Use debugstr_hresult() in get_blob_part().
This commit is contained in:
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
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user