| 156 | } |
| 157 | |
| 158 | void ShaderProgram::uniform1i(const std::string& name, const int value) const { |
| 159 | gl_canvas_.glUniform1i(static_cast<GLint>(uniforms_.at(name)), value); |
| 160 | } |
| 161 | |
| 162 | void ShaderProgram::uniform2f(const std::string& name, |
| 163 | const float x, |
no test coverage detected