///////////////////////////////////////////////////////
| 532 | |
| 533 | //////////////////////////////////////////////////////////// |
| 534 | void Shader::setUniform(const std::string& name, float x) |
| 535 | { |
| 536 | const UniformBinder binder(*this, name); |
| 537 | if (binder.location != -1) |
| 538 | glCheck(GLEXT_glUniform1f(binder.location, x)); |
| 539 | } |
| 540 | |
| 541 | |
| 542 | //////////////////////////////////////////////////////////// |
no test coverage detected