Exemple #1
0
func ValidateProgram(p Program) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.ValidateProgram(%v) %v", p, errstr)
	}()
	C.glValidateProgram(p.c())
}
Exemple #2
0
func ValidateProgram(p Program) {
	C.glValidateProgram(p.c())
}
Exemple #3
0
func ValidateProgram(
	program uint32) {
	C.glValidateProgram(
		C.GLuint(program))
}
Exemple #4
0
func (program *Program) Validate() {
	C.glValidateProgram(program.id)
}
Exemple #5
0
func (program Program) Validate() { C.glValidateProgram(C.GLuint(program)) }