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