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