Destroys a GLX pixmap.
OpenGL C bindings library: libGL.a
void glXDestroyPixmap(Display *dpy,
GLXPixmap Pixmap)
If GLX pixmap Pixmap is not current to any client, the glXDestroyPixmap 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. |
/usr/include/GL/glx.h | Contains C language constants, variable type definitions, and ANSI function prototypes for GLX. |
The glXCreatePixmap subroutine, glXMakeContextCurrent subroutine.