glXDestroyGLXPixmap

NAME

glXDestroyGLXPixmap -- destroy a GLX pixmap

C SPECIFICATION

void glXDestroyGLXPixmap(Display *dpy,
                         GLXPixmap pix)

PARAMETERS

dpy
Specifies the connection to the X server.

pix
Specifies the GLX pixmap to be destroyed.

DESCRIPTION

If GLX pixmap pix is not current to any client, glXDestroyGLXPixmap destroys it immediately. Otherwise, pix is destroyed when it becomes not current to any client. In either case, the resource ID is freed immediately.

ERRORS

GLX_BAD_PIXMAP is generated if pix is not a valid GLX pixmap.

SEE ALSO

glXCreateGLXPixmap, glXMakeCurrent


back to the OpenGL index page


© 1995 Uwe Behrens All rights reserved