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).
This commit is contained in:
2020-10-23 19:29:27 +02:00
committed by Howard Trickey
parent e856443c99
commit 0d1f65e516
7 changed files with 77 additions and 38 deletions

View File

@@ -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. */