diff --git a/src/gfx.cpp b/src/gfx.cpp index d1996ca..700db36 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -46,6 +46,7 @@ GLuint compileShaderProgram() glGetProgramInfoLog(shaderProgram, 512, NULL, infoLog); std::cerr << "shader linking failed" << std::endl << infoLog << std::endl; + exit(-1); } // We no longer need the individual shaders