release

open fun release()

Releases any resources associated with the EGL surface (and, if configured to do so, with the Surface as well).

Does not require that the surface's EGL context be current.