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