NAME
glXDestroyContext
- destroy a GLX context
C SPECIFICATION
void ggllXXDDeessttrrooyyCCoonntteexxtt(
Display _*_d_p_y,
GLXContext _c_t_x )
delim $$
PARAMETERS
-
_d_p_y
-
Specifies the connection to the X server.
-
_c_t_x
-
Specifies the GLX context to be destroyed.
DESCRIPTION
If the GLX rendering context _c_t_x is not current to any thread,
ggllXXDDeessttrrooyyCCoonntteexxtt
destroys it immediately.
Otherwise,
_c_t_x is destroyed when it becomes not current to any thread.
In either case, the resource ID
referenced by _c_t_x is freed immediately.
ERRORS
GGLLXXBBaaddCCoonntteexxtt is generated if _c_t_x is not a valid GLX context.
SEE ALSO
ggllXXCCrreeaatteeCCoonntteexxtt,
ggllXXMMaakkeeCCuurrrreenntt