| 233 | } |
| 234 | |
| 235 | GLint Program::getUniformLocation(const std::string& name) const |
| 236 | { |
| 237 | checkDirty(); |
| 238 | if (!m_linked) |
| 239 | return -1; |
| 240 | |
| 241 | return glGetUniformLocation(id(), name.c_str()); |
| 242 | } |
| 243 | |
| 244 | std::vector<GLint> Program::getAttributeLocations(const std::vector<std::string> & names) const |
| 245 | { |