func cleanup() { egl.DestroySurface(platform.Display, platform.Surface) egl.DestroyContext(platform.Display, platform.Context) egl.Terminate(platform.Display) }
func cleanup() { egl.DestroySurface(display, surface) egl.DestroyContext(display, context) egl.Terminate(display) }