| 247 | } |
| 248 | |
| 249 | void setUniformMatrix3(const std::string& name, GLfloat value[9]) |
| 250 | { |
| 251 | GLint idx = gl()->glGetUniformLocation(program, name.c_str()); |
| 252 | if (idx == -1) return; |
| 253 | |
| 254 | gl()->glUniformMatrix3fv(idx, 1, false, value); |
| 255 | } |
| 256 | |
| 257 | void use() |
| 258 | { |
nothing calls this directly
no outgoing calls
no test coverage detected