func DeleteProgram(p Program) { defer func() { errstr := errDrain() log.Printf("gl.DeleteProgram(%v) %v", p, errstr) }() C.glDeleteProgram(p.c()) }
func DeleteProgram(p Program) { C.glDeleteProgram(p.c()) }
func DeleteProgram( program uint32) { C.glDeleteProgram( C.GLuint(program)) }
// Delete deletes the program object func (p *Program) Delete() { C.glDeleteProgram(p.i) }
func (program *Program) Delete() { C.glDeleteProgram(program.id) }
// Delete deletes a program object. func (p Program) Delete() { C.glDeleteProgram(C.GLuint(p)) }