void ProgramObject::setUniform1i(const char *varname, GLint v0) { glUniform1iARB(getUniformLocation(varname), v0); }