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

glXDestroyWindow Subroutine

Purpose

Destroys a GLX window.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glXDestroyWindow(Display *dpy,

                      GLXWindow Window)

Description

If GLX window Window is not current to any client, the glXDestroyWindow subroutine destroys it immediately. Otherwise, Window 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.
Window Specifies the GLX window to be destroyed.

Error Codes

GLXBadWindow Is generated if Window is not a valid GLX window.

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 glXCreateWindow subroutine, glXMakeContextCurrent subroutine.

OpenGL Overview.


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