next up previous contents index
Next: 6.4 glutAddMenuEntry Up: 6 Menu Management Previous: 6.2 glutSetMenuglutGetMenu

6.3 glutDestroyMenu

  glutDestroyMenu destroys the specified menu.

Usage

void glutDestroyMenu(int menu);
menu
The identifier of the menu to destroy.

Description

glutDestroyMenu destroys the specified menu by menu. If menu was the current menu, the current menu becomes invalid and glutGetMenu will return zero.



next up previous contents index
Next: 6.4 glutAddMenuEntry Up: 6 Menu Management Previous: 6.2 glutSetMenuglutGetMenu



Mark Kilgard
Fri Feb 23 08:05:02 PST 1996