From 5b1ec775a021f215307fc63e8df54bb1109aeb58 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 27 Jan 2014 00:04:36 +0100 Subject: [PATCH] Send shader compile log to stderr instead of stdout. Reported by Dan Dennedy. --- util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.cpp b/util.cpp index 9c2ce59..3b15c37 100644 --- a/util.cpp +++ b/util.cpp @@ -99,7 +99,7 @@ GLuint compile_shader(const string &shader_src, GLenum type) glGetShaderInfoLog(obj, log_length, &log_length, info_log); info_log[log_length] = 0; if (strlen(info_log) > 0) { - printf("shader compile log: %s\n", info_log); + fprintf(stderr, "Shader compile log: %s\n", info_log); } GLint status; -- 2.39.2