glXDestroyContext() glXDestroyContext()
glXDestroyContext - destroy a GLX context
void glXDestroyContext(
Display *dpy,
GLXContext ctx );
Specifies the connection to the X server. Specifies the
GLX context to be destroyed.
If the GLX rendering context ctx is not current to any
thread, glXDestroyContext() destroys it immediately. Otherwise,
ctx is destroyed when it becomes not current to
any thread. In either case, the resource ID referenced by
ctx is freed immediately.
GLXBadContext is generated if ctx is not a valid GLX context.
glXCreateContext(3), glXMakeCurrent(3)
glXDestroyContext()
[ Back ] |