eglMakeCurrent method

int eglMakeCurrent(
  1. Pointer<Void> dpy,
  2. Pointer<Void> draw,
  3. Pointer<Void> read,
  4. Pointer<Void> ctx,
)

Implementation

int eglMakeCurrent(
  ffi.Pointer<ffi.Void> dpy,
  ffi.Pointer<ffi.Void> draw,
  ffi.Pointer<ffi.Void> read,
  ffi.Pointer<ffi.Void> ctx,
) {
  return (_eglMakeCurrent ??=
      _dylib.lookupFunction<_c_eglMakeCurrent, _dart_eglMakeCurrent>(
          'eglMakeCurrent'))(
    dpy,
    draw,
    read,
    ctx,
  );
}