glXDestroyGLXPixmap.3G man page

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 the 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

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

See Also

glXCreateGLXPixmap(), glXDestroyPixmap(), glXMakeCurrent()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual