예제 #1
0
func (c *contextGL) destroy() {
	C.destroyContext(c.dpy, c.ctx, c.surf)
	runtime.UnlockOSThread()
}
예제 #2
0
파일: context_x11.go 프로젝트: shibukawa/gl
func (c *contextGL) destroy() {
	C.destroyContext(c.dpy, c.ctx, c.surf)
	gl.ContextWatcher.OnDetach()
	runtime.UnlockOSThread()
}