[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glXDestroyGLXPixmap Subroutine


Destroys a GLX pixmap.


OpenGL C bindings library: libGL.a

C Syntax

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.

Error Codes

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.

Related Information

The glXCreateGLXPixmap subroutine, glXMakeCurrent subroutine.

OpenGL Overview.

[ Previous | Next | Contents | Glossary | Home | Search ]