1GLXDESTROYCONTEXT() GLXDESTROYCONTEXT()
2
3
4
6 glXDestroyContext - destroy a GLX context
7
8
10 void glXDestroyContext( Display *dpy,
11 GLXContext ctx )
12
13 delim $$
14
16 dpy Specifies the connection to the X server.
17
18 ctx Specifies the GLX context to be destroyed.
19
21 If the GLX rendering context ctx is not current to any thread, glXDe‐
22 stroyContext destroys it immediately. Otherwise, ctx is destroyed when
23 it becomes not current to any thread. In either case, the resource ID
24 referenced by ctx is freed immediately.
25
27 GLXBadContext is generated if ctx is not a valid GLX context.
28
30 glXCreateContext, glXMakeCurrent
31
32
33
34 GLXDESTROYCONTEXT()