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