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