now it show info about bad Linking in log

This commit is contained in:
Roman Sorokin 2014-07-25 12:43:33 +03:00 committed by Alex Zolotarev
parent a4ef36bd33
commit 737081ac91

View file

@ -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());