On 29 April 2015 at 23:34, Matteo Bruni mbruni@codeweavers.com wrote:
-static void string_buffer_vsprintf(struct wined3d_string_buffer *buffer, const char *format, va_list args) +static int string_buffer_vsprintf(struct wined3d_string_buffer *buffer, const char *format, va_list args) { if (!buffer)
return;
string_buffer_clear(buffer);return 0;
- shader_vaddline(buffer, format, args);
- return shader_vaddline(buffer, format, args);
}
You could perhaps just merge this into string_buffer_sprintf(), but I don't care that much.