Exemple #1
0
func free() {
	gl.DeleteProgram(program)
	gl.DeleteBuffers(1, &vboTriangle)
}
Exemple #2
0
func free() {
	// Free OpenGL buffers
	gl.DeleteProgram(program)
}
func (p *Program) Delete() {
	gl.DeleteProgram(p.id)
}