eglCreateWindowSurface function
Implementation
Pointer<Void> eglCreateWindowSurface(
Pointer<Void> display,
Pointer<Void> config,
Pointer<Void> nativeWindow,
) {
final nativeCallResult =
_libEGL.eglCreateWindowSurface(display, config, nativeWindow, nullptr);
if (nativeCallResult == nullptr) {
throw EglException(
'Failed to create window surface for display [$display], config [$config], native window [$nativeWindow].');
}
return nativeCallResult;
}