---
name: "glutRemoveOverlay"
section: "3x"
platform: "linux"
package: "glut-dev"
version: "3.3-2"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/glutRemoveOverlay/3x"
---

# glutRemoveOverlay(3x)

removes the overlay (if one exists) from the current window.

## NAME

glutRemoveOverlay - removes the overlay (if one exists) from the current window.

## SYNTAX

```

```

void glutRemoveOverlay(void);

## DESCRIPTION

glutRemoveOverlay removes the overlay (if one exists). It is safe to call glutRemoveOverlay even if no overlay is currently established--it does nothing in this case. Implicitly, the window's layer in use changes to the normal plane immediately once the overlay is removed.

If the program intends to re-establish the overlay later, it is typically faster and less resource intensive to use glutHideOverlay and glutShowOverlay to simply change the display status of the overlay.

## SEE ALSO

glutEstablishOverlay, glutDestroyWindow

## AUTHOR

Mark J. Kilgard (mjk@sgi.com)
