On Mon Jan 15 22:01:58 2024 +0000, Giovanni Mascellani wrote:
> This is not wrong either, but we have a better tool for that, which is
> `vkd3d_string_buffer_printf()` (and companions).
> Also, notice that the `if` continuation line should be indented 8
> spaces, not 4.
What would make `vkd3d_string_buffer_printf` better? It looks like `hlsl_sprintf_alloc` just forwards to that inside and I don't see what I would be writing that would be better.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/364#note_60821