# HG changeset patch # User Sebastien Jodogne # Date 1556355385 -7200 # Node ID 6da17230c7a3e1d2b67dfa7b78763fb6b04734c7 # Parent a806abb497b8d729be5642760fd38ee603fcca8a fix diff -r a806abb497b8 -r 6da17230c7a3 Framework/OpenGL/OpenGLShader.cpp --- a/Framework/OpenGL/OpenGLShader.cpp Fri Apr 26 17:57:57 2019 +0200 +++ b/Framework/OpenGL/OpenGLShader.cpp Sat Apr 27 10:56:25 2019 +0200 @@ -53,7 +53,7 @@ int infoLen = 0; glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); - if (infoLen > 0) + if (infoLen > 1) // Might be equal to 1, which amounts to no error { std::string infoLog; infoLog.resize(infoLen + 1);