From 24788ba6718ad43947927e45955cfe4fc95c295e Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 4 Oct 2017 00:30:02 +0200 Subject: [PATCH] Don't print out the shader on failure, as it's not autogenerated. --- util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.cpp b/util.cpp index 5749f63..039eb04 100644 --- a/util.cpp +++ b/util.cpp @@ -66,7 +66,7 @@ GLuint compile_shader(const string &shader_src, GLenum type) GLint status; glGetShaderiv(obj, GL_COMPILE_STATUS, &status); if (status == GL_FALSE) { - fprintf(stderr, "Failed to compile shader: %s\n", shader_src.c_str()); + fprintf(stderr, "Failed to compile shader\n"); exit(1); } -- 2.39.2