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>macos/master
parent
2acbb410ce
commit
8273f6e5a5
Loading…
Reference in new issue