X-Git-Url: https://git.sesse.net/?p=narabu;a=blobdiff_plain;f=util.cpp;h=039eb04ca7769b6a39cd1b9b24fa489903cb38a8;hp=5749f63f20e8d9213b6ff5e1961f5d9c0b194141;hb=24788ba6718ad43947927e45955cfe4fc95c295e;hpb=c886c4c19b82f7d74d61c80aef1d5f2aba19d1f0 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); }