mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-utils: Store the actual serialisation return value in D3DStripShader().
This commit is contained in:
parent
c94eac2d33
commit
f28d39b609
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
@ -942,7 +942,7 @@ HRESULT WINAPI D3DStripShader(const void *data, SIZE_T data_size, UINT flags, ID
|
||||
sections[section_count++] = *src_section;
|
||||
}
|
||||
|
||||
if ((ret = vkd3d_shader_serialize_dxbc(section_count, sections, &dst_dxbc, NULL) < 0))
|
||||
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…
Reference in New Issue
Block a user