26 Jul
2023
26 Jul
'23
8:53 p.m.
```diff + shader_addline(buffer, "\nvec3 ffp_normalize(vec3 n)\n{"); + shader_addline(buffer, " float lensq = dot(n, n);\n"); + shader_addline(buffer, " return lensq == 0.0 ? n : (n * inversesqrt(lensq));\n"); + shader_addline(buffer, "}"); ```
This is missing newlines after "{" and "}". It'll still work, of course, but the generated code will be slightly ugly.
``` This fixes [36564](https://bugs.winehq.org/show_bug.cgi?id=36564). ```
We normally use "Wine-Bug: " for those. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3419#note_40393