glxdestroycontext(3) redhat man page | unix.com

Man Page: glxdestroycontext

Operating Environment: redhat

Section: 3

GLXDESTROYCONTEXT()													       GLXDESTROYCONTEXT()

NAME
glXDestroyContext - destroy a GLX context
C SPECIFICATION
void glXDestroyContext( Display *dpy, GLXContext ctx ) delim $$
PARAMETERS
dpy Specifies the connection to the X server. ctx Specifies the GLX context to be destroyed.
DESCRIPTION
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.
ERRORS
GLXBadContext is generated if ctx is not a valid GLX context.
SEE ALSO
glXCreateContext, glXMakeCurrent GLXDESTROYCONTEXT()
Related Man Pages
glxmakecurrent(3) - redhat
glxfreecontextext(3g) - centos
glxmakecontextcurrent(3g) - centos
glxquerycontext(3g) - centos
glxcreatecontext(3) - suse
Similar Topics in the Unix Linux Community
How to capture ^x,^y via bash script?
Retrieving previous command in a script
Docker learning Phase-I
Issue with events occuring in DST window
[TIP] Processing YAML files with yq