forked from organicmaps/organicmaps
now it show info about bad Linking in log
This commit is contained in:
parent
a4ef36bd33
commit
737081ac91
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ GpuProgram::GpuProgram(RefPointer<Shader> vertexShader, RefPointer<Shader> fragm
|
|||
GLFunctions::glAttachShader(m_programID, fragmentShader->GetID());
|
||||
|
||||
string errorLog;
|
||||
VERIFY(GLFunctions::glLinkProgram(m_programID, errorLog), ());
|
||||
VERIFY(GLFunctions::glLinkProgram(m_programID, errorLog), (errorLog));
|
||||
|
||||
GLFunctions::glDetachShader(m_programID, vertexShader->GetID());
|
||||
GLFunctions::glDetachShader(m_programID, fragmentShader->GetID());
|
||||
|
|
Loading…
Add table
Reference in a new issue