| 106 | } |
| 107 | |
| 108 | void Shader::addAttribute(const std::string &attribute) |
| 109 | { |
| 110 | m_attributes[attribute]= glGetAttribLocation(m_program, attribute.c_str()); |
| 111 | } |
| 112 | |
| 113 | GLuint Shader::getAttribute(const std::string &attribute) |
| 114 | { |
no test coverage detected