mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-utils: Store the actual serialisation return value in get_blob_part().
This commit is contained in:
parent
6822f1fe6c
commit
c94eac2d33
Notes:
Henri Verbeet
2024-09-30 21:07:21 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1131
@ -811,7 +811,7 @@ static HRESULT get_blob_part(const void *data, SIZE_T data_size,
|
||||
{
|
||||
dst_dxbc = sections[0].data;
|
||||
}
|
||||
else if ((ret = vkd3d_shader_serialize_dxbc(section_count, sections, &dst_dxbc, NULL) < 0))
|
||||
else if ((ret = vkd3d_shader_serialize_dxbc(section_count, sections, &dst_dxbc, NULL)) < 0)
|
||||
{
|
||||
WARN("Failed to serialise DXBC, ret %d.\n", ret);
|
||||
hr = hresult_from_vkd3d_result(ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user