Signature
Description
glutRemoveOverlay
removes the overlay (if one exists). It is safe to call
glutRemoveOverlay
even if no overlay is currently established
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.