OpenGL C bindings library: libGL.a
void glXDestroyContext(Display *dpy, GLXContext Context)
If the Context parameter is not current to any thread, the glXDestroyContext subroutine destroys it immediately. If Context is current, the glXDestroyContext subroutine destroys it when it becomes not current to any thread. In either case, the resource ID referenced by Context is freed immediately.
dpy | Specifies the connection to the X server. |
Context | Specifies the GLX context to be destroyed. |
GLXBadContext | Is generated if Context is not a valid GLX context. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
The glXCreateContext subroutine, glXMakeCurrent subroutine.
OpenGL in the AIXwindows (GLX) Environment.