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