Man Page: glxdestroycontext
Operating Environment: centos
Section: 3g
GLXDESTROYCONTEXT(3G) OpenGL Manual GLXDESTROYCONTEXT(3G)NAMEglXDestroyContext - destroy a GLX contextC SPECIFICATIONvoid glXDestroyContext(Display * dpy, GLXContext ctx);PARAMETERSdpy Specifies the connection to the X server. ctx Specifies the GLX context to be destroyed.DESCRIPTIONIf 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.ERRORSGLXBadContext is generated if ctx is not a valid GLX context.SEE ALSOglXCreateContext(), glXCreateNewContext(), glXMakeCurrent()COPYRIGHTCopyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.AUTHORSopengl.org opengl.org 06/10/2014 GLXDESTROYCONTEXT(3G)