Exemple #1
0
func BindAPI(api int) error {
	success := C.eglBindAPI(C.EGLenum(api))
	if success == C.EGL_FALSE {
		return getError()
	}
	return nil
}
Exemple #2
0
func BindAPI(api Enum) bool {
	return goBoolean(C.eglBindAPI(C.EGLenum(api)))
}