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

This commit is contained in:
Henri Verbeet 2024-01-11 21:42:31 +01:00 committed by Alexandre Julliard
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

View File

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