On Mon, 15 Feb 2021 at 20:22, Matteo Bruni mbruni@codeweavers.com wrote:
There's the alternative of using and passing around a vkd3d_string_buffer instead. This also works though.
Yes, in the longer term I'd probably feel safer about using vkd3d_string_buffer in more places than always getting buffer sizes right in places like these. Note that for temporary strings we could do something along the lines of wined3d's string_buffer_get().