31 Aug
2022
31 Aug
'22
8:01 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/compiler.c:
if (errors) *errors = NULL;
- if (FAILED(hr = D3DCompile(data, datasize, filename, defines, include, "main", profile, - shader_flags, effect_flags, &code, errors))) + buffer = (void *)data;
I had a comment on the same cast with the older MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/332#note_3151 Very unlikely that there are actual write accesses to the source data but... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/697#note_7369