Exemple #1
0
func (p *Program) DeleteProgram() {
	gl.DeleteProgram(p.prog)
}
func (prog *Program) Delete() {
	for _, shader := range prog.shaders {
		shader.Delete()
	}
	gl.DeleteProgram(prog.handle)
}