[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXDestroyPixmap Subroutine

Purpose

Destroys a GLX pixmap.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glXDestroyPixmap(Display *dpy,

                      GLXPixmap Pixmap)

Description

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.

Parameters

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.

Files

/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.

Related Information

The glXCreatePixmap subroutine, glXMakeContextCurrent subroutine.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]