diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-10-23 20:29:27 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-10-24 21:07:05 +0300 |
commit | 0d1f65e5166c4822d9e01e7d3ce20f7df972550b (patch) | |
tree | a93ada3a93d26fbdc3e6ebdfe762389ef292b1a7 /source/blender/gpu/intern/gpu_shader_private.hh | |
parent | e856443c99d5175b3de6370590142a8d03054bb3 (diff) |
GPU: Use CLOG to for debug output
This removes the escape color control caracters when the output
does not supports it (i.e: file output, windows cmd).
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_private.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh index b7acc0f9353..eac39dccd81 100644 --- a/source/blender/gpu/intern/gpu_shader_private.hh +++ b/source/blender/gpu/intern/gpu_shader_private.hh @@ -70,7 +70,7 @@ class Shader { }; protected: - void print_errors(Span<const char *> sources, char *log, const char *stage); + void print_log(Span<const char *> sources, char *log, const char *stage, const bool error); }; /* Syntacting suggar. */ |