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