glXDestroyContext

glXDestroyCon glXDestroyCon glXDestroyCon

glXDestroyContext
NAME
glXDestroyContext - destroy a GLX context
C SPECIFICATION
void glXDestroyContext( Display *dpy, GLXContext ctx )
PARAMETERS
dpy ? Specifies the connection to the X server.
ctx ? Specifies the GLX context to be destroyed.
DESCRIPTION
If 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.
ERRORS
GLX_Bad_Context is generated if ctx is not a valid GLX context.

相關詞條

相關搜尋

熱門詞條

聯絡我們