manpagez: man pages & more
man glXDestroyContext(3)
Home | html | info | man
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, glXDe-
       stroyContext 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(3), glXMakeCurrent(3)



                                                           GLXDESTROYCONTEXT()

Mac OS X 10.4 X11 - Generated Sat Apr 30 05:14:13 CDT 2005
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.