1GLXDESTROYCONTEXT(3G) OpenGL Manual GLXDESTROYCONTEXT(3G)
2
3
4
6 glXDestroyContext - destroy a GLX context
7
9 void glXDestroyContext(Display * dpy, GLXContext ctx);
10
12 dpy
13 Specifies the connection to the X server.
14
15 ctx
16 Specifies the GLX context to be destroyed.
17
19 If the GLX rendering context ctx is not current to any thread,
20 glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed
21 when it becomes not current to any thread. In either case, the resource
22 ID referenced by ctx is freed immediately.
23
25 GLXBadContext is generated if ctx is not a valid GLX context.
26
28 glXCreateContext(), glXCreateNewContext(), glXMakeCurrent()
29
31 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
32 under the SGI Free Software B License. For details, see
33 http://oss.sgi.com/projects/FreeB/.
34
36 opengl.org
37
38
39
40opengl.org 06/10/2014 GLXDESTROYCONTEXT(3G)