releaseSurface

open fun releaseSurface(eglSurface: EGLSurface)

Destroys the specified surface. Note the EGLSurface won't actually be destroyed if it's still current in a context.