| 203 | } |
| 204 | |
| 205 | bool 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 | |
| 215 | void Program::bindFragDataLocation(const GLuint index, const std::string & name) const |
| 216 | { |