glutDestroyWindow(3GLUT) GLUT glutDestroyWindow(3GLUT)NAMEglutDestroyWindow - destroys the specified window.
SYNTAX
#include <GLUT/glut.h>
void glutDestroyWindow(int win);
ARGUMENTS
win Identifier of GLUT window to destroy.
DESCRIPTIONglutDestroyWindow destroys the window specified by win and the window's
associated OpenGL context, logical colormap (if the window is color
index), and overlay and related state (if an overlay has been estabā
lished). Any subwindows of destroyed windows are also destroyed by
glutDestroyWindow. If win was the current window, the current window
becomes invalid ( glutGetWindow will return zero).
SEE ALSO
glutCreateWindow, glutCreateSubWindow, glutDestroyMenu
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutDestroyWindow(3GLUT)