MCPcopy Create free account
hub / github.com/cginternals/globjects / checkLinkStatus

Method checkLinkStatus

source/globjects/source/Program.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205bool Program::checkLinkStatus() const
206{
207 if (GL_FALSE == static_cast<GLboolean>(get(GL_LINK_STATUS)))
208 {
209 critical() << "Linker error:" << std::endl << infoLog();
210 return false;
211 }
212 return true;
213}
214
215void Program::bindFragDataLocation(const GLuint index, const std::string & name) const
216{

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
criticalFunction · 0.85

Tested by

no test coverage detected