GLXDESTROYPBUFFER(3GL)GLXDESTROYPBUFFER(3GL)NAMEglXDestroyPbuffer - destroy a GLXPbuffer
C SPECIFICATION
void glXDestroyPbuffer ( Display *dpy,
GLXPbuffer pbuf)
PARAMETERS
dpy Specifies the connection to the X server.
pbuf Specifies the GLXPbuffer to be destroyed.
DESCRIPTION
If GLXPbuffer <pbuf> is not current to any client, glXDestroyPbuffer
destroys it immediately. Otherwise, <pbuf> is destroyed when it becomes
not current to any client. In either case, any memory resources that
are attached to it are freed, and its XID is made available for reuse
immediately.
NOTESglXDestroyPbuffer is part of the GLX Version 1.3 command set. The func‐
tion is only valid if the connection supports GLX Version 1.3 or later.
ERRORS
GLXBadPbuffer is generated if <pbuf> is not a valid GLXPbuffer.
SEE ALSO
glXCreatePbuffer, glxMakeCurrent, glxMakeContextCurrent
20 May 01 GLXDESTROYPBUFFER(3GL)