Пример #1
0
func (m Menu) Destroy() {
	C.glutDestroyMenu(C.int(m))
	delete(menuFuncs, m)
}
Пример #2
0
func (m Menu) Destroy() {
	C.glutDestroyMenu(C.int(m))
	menuFuncs[m] = nil, false
}