Exemple #1
0
func DeleteProgram(p Program) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.DeleteProgram(%v) %v", p, errstr)
	}()
	C.glDeleteProgram(p.c())
}
Exemple #2
0
func DeleteProgram(p Program) {
	C.glDeleteProgram(p.c())
}
Exemple #3
0
func DeleteProgram(
	program uint32) {
	C.glDeleteProgram(
		C.GLuint(program))

}
Exemple #4
0
Fichier : gl.go Projet : extrame/gl
// Delete deletes the program object
func (p *Program) Delete() {
	C.glDeleteProgram(p.i)
}
Exemple #5
0
func (program *Program) Delete() {
	C.glDeleteProgram(program.id)
}
Exemple #6
0
// Delete deletes a program object.
func (p Program) Delete() {
	C.glDeleteProgram(C.GLuint(p))
}