mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-utils: Use debugstr_hresult() in D3DCreateBlob().
This commit is contained in:
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
@ -619,7 +619,7 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **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);
|
||||
}
|
||||
return hr;
|
||||
|
Loading…
Reference in New Issue
Block a user