next up previous contents index
Next: 5.4 glutPostOverlayRedisplay Up: 5 Overlay Management Previous: 5.2 glutUseLayer

5.3 glutRemoveOverlay

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

Usage

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.



next up previous contents index
Next: 5.4 glutPostOverlayRedisplay Up: 5 Overlay Management Previous: 5.2 glutUseLayer



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