eglSwapBuffers method
Implementation
void eglSwapBuffers(
Pointer<Void> display,
Pointer<Void> surface,
) {
loadEGL(useAngle: _useAngle);
final nativeCallResult = egl.eglSwapBuffers(display, surface) == 1;
if (nativeCallResult) {
return;
}
throw EglException(
'Failed to swap buffers using display [$display], surface [$surface].');
}