Destroys a GLX window.
OpenGL C bindings library: libGL.a
void glXDestroyWindow(Display *dpy,
GLXWindow Window)
If GLX window Window is not current to any client, the glXDestroyWindow subroutine destroys it immediately. Otherwise, Window is destroyed when it is no longer current to any client. In either case, the resource ID is freed immediately.
dpy | Specifies the connection to the X server. |
Window | Specifies the GLX window to be destroyed. |
GLXBadWindow | Is generated if Window is not a valid GLX window. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
/usr/include/GL/glx.h | Contains C language constants, variable type definitions, and ANSI function prototypes for GLX. |
The glXCreateWindow subroutine, glXMakeContextCurrent subroutine.