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

glXDestroyGLXPixmap Subroutine

Purpose

Destroys a GLX pixmap.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glXDestroyGLXPixmap(Display *dpy,
   GLXPixmap Pixmap)

Description

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.

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.

Related Information

The glXCreateGLXPixmap subroutine, glXMakeCurrent subroutine.

OpenGL Overview.


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