OpenGL C bindings library: libGL.a
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap Pixmap)
If GLX pixmap Pixmap is not current to any client, the glXDestroyGLXPixmap subroutine destroys it immediately. Otherwise, Pixmap is destroyed when it is no longer current to any client. In either case, the resource ID is freed immediately.
dpy | Specifies the connection to the X server. |
Pixmap | Specifies the GLX pixmap to be destroyed. |
GLXBadPixmap | Is generated if Pixmap is not a valid GLX pixmap. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
The glXCreateGLXPixmap subroutine, glXMakeCurrent subroutine.