---
name: "glutDestroyMenu"
section: "3"
platform: "linux"
package: "freeglut"
version: "3.8.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glutDestroyMenu"
---

# glutDestroyMenu(3)

destroys the specified menu.

## NAME

glutDestroyMenu - destroys the specified menu.

## SYNTAX

```

```

void glutDestroyMenu(int menu);

## ARGUMENTS

- *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.

## SEE ALSO

glutCreateMenu, glutDestroyWindow

## AUTHOR

Mark J. Kilgard (mjk@nvidia.com)
