void ProgramObject::setUniform1f(const char *varname, GLfloat v0) { glUniform1fARB(getUniformLocation(varname), v0); }