Пример #1
0
func cleanup() {
	egl.DestroySurface(platform.Display, platform.Surface)
	egl.DestroyContext(platform.Display, platform.Context)
	egl.Terminate(platform.Display)
}
Пример #2
0
func cleanup() {
	egl.DestroySurface(display, surface)
	egl.DestroyContext(display, context)
	egl.Terminate(display)
}