-
Erik Faye-Lund authored
This helper completely replace the contents of a strbuf with its content. This is useful when building temporary strings in the shader source generation code, and it a bit semantically cleaner (and more efficient) than appending to an empty buffer. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
8273f6e5