| 15 | namespace { |
| 16 | |
| 17 | std::string trimNullTerminator(std::string log) { |
| 18 | while (!log.empty() && log.back() == '\0') { |
| 19 | log.pop_back(); |
| 20 | } |
| 21 | return log; |
| 22 | } |
| 23 | |
| 24 | template <typename Functions> |
| 25 | std::string shaderInfoLog(Functions& functions, GLuint shader) { |
no test coverage detected