[PATCH 0/1] MR10572: d3dcompiler: Fix misplaced parentheses.
From: Andrey Gusev <andrey.goosev@gmail.com> --- dlls/d3dcompiler_43/blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dcompiler_43/blob.c b/dlls/d3dcompiler_43/blob.c index 0c29c36c70c..eb175c88832 100644 --- a/dlls/d3dcompiler_43/blob.c +++ b/dlls/d3dcompiler_43/blob.c @@ -299,7 +299,7 @@ static HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, UIN { 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 = E_FAIL; @@ -390,7 +390,7 @@ static HRESULT d3dcompiler_strip_shader(const void *data, SIZE_T data_size, UINT 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 = E_FAIL; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10572
This merge request was approved by Matteo Bruni. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10572
participants (3)
-
Andrey Gusev -
Andrey Gusev (@agusev) -
Matteo Bruni (@Mystral)