Beispiel #1
0
func cleanup() {
	egl.DestroySurface(platform.Display, platform.Surface)
	egl.DestroyContext(platform.Display, platform.Context)
	egl.Terminate(platform.Display)
}
Beispiel #2
0
func cleanup() {
	egl.DestroySurface(display, surface)
	egl.DestroyContext(display, context)
	egl.Terminate(display)
}