GLXDESTROYGLXPBUFFERSGIX(3GL)GLXDESTROYGLXPBUFFERSGIX(3GL)NAMEglXDestroyGLXPbufferSGIX - destroy a GLXPbuffer
C SPECIFICATION
void glXDestroyGLXPbufferSGIX ( 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, glXDestroyGLXP‐
bufferSGIX 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 avail‐
able for reuse immediately.
NOTESglXDestroyGLXPbufferSGIX is part of the GLX extension SGIX_pbuffer, not
part of the core GLX command set. If SGIX_pbuffer is included in the
string returned by glXQueryExtensionsString, extension SGIX_pbuffer is
supported by the connection.
This function is superseded by glXDestroyPbuffer, which is part of GLX
Version 1.3 command set. glXDestroyGLXPbufferSGIX is supported only
for backward compatibility.
ERRORS
GLXBadPbufferSGIX is generated if <pbuf> is not a valid GLXPbuffer.
SEE ALSO
glXCreateGLXPbufferSGIX, glxMakeCurrent, glXQueryExtensionsString.
21 May 01 GLXDESTROYGLXPBUFFERSGIX(3GL)