Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-10-23 20:29:27 +0300
committerHoward Trickey <howard.trickey@gmail.com>2020-10-24 21:07:05 +0300
commit0d1f65e5166c4822d9e01e7d3ce20f7df972550b (patch)
treea93ada3a93d26fbdc3e6ebdfe762389ef292b1a7 /source/blender/gpu/intern/gpu_shader_private.hh
parente856443c99d5175b3de6370590142a8d03054bb3 (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.hh2
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. */