func ValidateProgram(p Program) { defer func() { errstr := errDrain() log.Printf("gl.ValidateProgram(%v) %v", p, errstr) }() C.glValidateProgram(p.c()) }
func ValidateProgram(p Program) { C.glValidateProgram(p.c()) }
func ValidateProgram( program uint32) { C.glValidateProgram( C.GLuint(program)) }
func (program *Program) Validate() { C.glValidateProgram(program.id) }
func (program Program) Validate() { C.glValidateProgram(C.GLuint(program)) }