diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-10-26 14:01:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-10-26 14:31:01 +0300 |
commit | 6fc0d743f12d4a1e72748cdc423ddd04b500a93b (patch) | |
tree | ffbfc15e205da4e3329345b29ef61957b2c50fa9 /source/blender/gpu/intern | |
parent | 9969c2dd165c7d8ffe607a5a050a80aa59ac50be (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.cc b/source/blender/gpu/intern/gpu_shader.cc index 5f46f57c09a..c13321ed205 100644 --- a/source/blender/gpu/intern/gpu_shader.cc +++ b/source/blender/gpu/intern/gpu_shader.cc @@ -211,9 +211,9 @@ void Shader::print_log(Span<const char *> sources, char *log, const char *stage, BLI_dynstr_appendf(dynstr, "%s%s%s: ", warn_col, "Warning", info_col); } /* Print the error itself. */ - BLI_dynstr_appendf(dynstr, info_col); + BLI_dynstr_append(dynstr, info_col); BLI_dynstr_nappend(dynstr, log_line, (line_end + 1) - log_line); - BLI_dynstr_appendf(dynstr, reset_col); + BLI_dynstr_append(dynstr, reset_col); /* Continue to next line. */ log_line = line_end + 1; last_error_line = error_line; |