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: 6.4 glutAddMenuEntry Up: 6 Menu Management Previous: 6.2 glutSetMenuglutGetMenu