| 168 | } |
| 169 | |
| 170 | void ShaderSource::set_source(const std::string &source_) |
| 171 | { |
| 172 | source = source_; |
| 173 | std::hash<std::string> hasher{}; |
| 174 | id = hasher(std::string{this->source.cbegin(), this->source.cend()}); |
| 175 | } |
| 176 | |
| 177 | const std::string &ShaderSource::get_source() const |
| 178 | { |
no outgoing calls
no test coverage detected