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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user