gamnit :: GamnitDisplay :: close_egl
	# Close the EGL context
	fun close_egl
	do
		egl_display.make_current(new EGLSurface.none, new EGLSurface.none, new EGLContext.none)
		egl_display.destroy_context(egl_context)
		egl_display.destroy_surface(window_surface)
	end
					lib/gamnit/egl.nit:148,2--154,4