Fixed two debug messages that contained incorrect function names.

This commit is contained in:
Leon Styhre 2021-08-17 22:51:28 +02:00
parent 83c0bc5ca6
commit b6b431f0fd

View file

@ -184,7 +184,7 @@ namespace Renderer
glGetProgramInfoLog(programID, maxLength, &logLength, &infoLog.front());
if (logLength > 0) {
LOG(LogDebug) << "Renderer_GL21::printProgramLog():\n"
LOG(LogDebug) << "Renderer_GL21::printProgramInfoLog():\n"
<< std::string(infoLog.begin(), infoLog.end());
}
}
@ -205,7 +205,7 @@ namespace Renderer
glGetShaderInfoLog(shaderID, maxLength, &logLength, &infoLog.front());
if (logLength > 0) {
LOG(LogDebug) << "Renderer_GL21::printShaderLog(): Error in "
LOG(LogDebug) << "Renderer_GL21::printShaderInfoLog(): Error in "
<< (shaderType == GL_VERTEX_SHADER ? "VERTEX section:\n" :
"FRAGMENT section:\n")
<< std::string(infoLog.begin(), infoLog.end());