1991-2006
Silicon Graphics, Inc.
glXDestroyPixmap
3G

# glXDestroyPixmap

destroy an off-screen rendering area

## C Specification

                    void glXDestroyPixmap
                    Display * dpy
                    GLXPixmap pixmap

## Parameters

`dpy`

  Specifies the connection to the X server.

`pixmap`

  Specifies the GLXPixmap to be destroyed.

## Description

`glXDestroyPixmap` destroys a GLXPixmap created by glXCreatePixmap.

## Notes

`glXDestroyPixmap` is available only if the GLX version is 1.3 or greater.

If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

## Errors

`GLXBadPixmap` is generated if `pixmap` is not a valid GLXPixmap.

## See Also

glXChooseFBConfig, glXCreatePixmap, glXDestroyGLXPixmap, glXMakeContextCurrent

## Copyright

Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.