glXDestroyWindow.3G man page

glXDestroyWindow — destroy an on-screen rendering area

C Specification

void glXDestroyWindow(Display * dpy, GLXWindow win);

Parameters

dpy

Specifies the connection to the X server.

win

Specifies the GLXWindow to be destroyed.

Description

glXDestroyWindow destroys a GLXWindow created by glXCreateWindow().

Notes

glXDestroyWindow 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

GLXBadWindow is generated if win is not a valid GLXPixmap.

See Also

glXChooseFBConfig(), glXCreateWindow(), glXMakeContextCurrent()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual