词条 | glXDestroyContext |
释义 | 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. |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。