Commit 51bbc803 authored by Ilia Mirkin's avatar Ilia Mirkin

run: don't expect incoming message to contain a newline

It seems a bit odd to expect a debug message to contain a newline --
what if you wanted to include something *after* the message, for
example. It makes more sense for the code actually printing to have the
newline rather than the string being passed around.
Reviewed-by: Matt Turner's avatarMatt Turner <>
parent 695515a6
......@@ -209,7 +209,7 @@ callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length,
const char *const *shader_name = userParam;
printf("%s - %s", *shader_name, message);
printf("%s - %s\n", *shader_name, message);
static unsigned shader_test_size = 1 << 15; /* next-pow-2(num shaders in db) */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment