mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed two debug messages that contained incorrect function names.
This commit is contained in:
parent
83c0bc5ca6
commit
b6b431f0fd
|
@ -184,7 +184,7 @@ namespace Renderer
|
||||||
glGetProgramInfoLog(programID, maxLength, &logLength, &infoLog.front());
|
glGetProgramInfoLog(programID, maxLength, &logLength, &infoLog.front());
|
||||||
|
|
||||||
if (logLength > 0) {
|
if (logLength > 0) {
|
||||||
LOG(LogDebug) << "Renderer_GL21::printProgramLog():\n"
|
LOG(LogDebug) << "Renderer_GL21::printProgramInfoLog():\n"
|
||||||
<< std::string(infoLog.begin(), infoLog.end());
|
<< std::string(infoLog.begin(), infoLog.end());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -205,7 +205,7 @@ namespace Renderer
|
||||||
glGetShaderInfoLog(shaderID, maxLength, &logLength, &infoLog.front());
|
glGetShaderInfoLog(shaderID, maxLength, &logLength, &infoLog.front());
|
||||||
|
|
||||||
if (logLength > 0) {
|
if (logLength > 0) {
|
||||||
LOG(LogDebug) << "Renderer_GL21::printShaderLog(): Error in "
|
LOG(LogDebug) << "Renderer_GL21::printShaderInfoLog(): Error in "
|
||||||
<< (shaderType == GL_VERTEX_SHADER ? "VERTEX section:\n" :
|
<< (shaderType == GL_VERTEX_SHADER ? "VERTEX section:\n" :
|
||||||
"FRAGMENT section:\n")
|
"FRAGMENT section:\n")
|
||||||
<< std::string(infoLog.begin(), infoLog.end());
|
<< std::string(infoLog.begin(), infoLog.end());
|
||||||
|
|
Loading…
Reference in a new issue