glXDestroyPbuffer.3G man page

glXDestroyPbuffer — destroy an off-screen rendering area

C Specification

void glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf);

Parameters

dpy

Specifies the connection to the X server.

pbuf

Specifies the GLXPbuffer to be destroyed.

Description

glXDestroyPbuffer destroys a GLXPbuffer created by glXCreatePbuffer().

Notes

glXDestroyPbuffer 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

GLXBadPbuffer is generated if pbuf is not a valid GLXPbuffer.

See Also

glXChooseFBConfig(), glXCreatePbuffer(), glXMakeContextCurrent()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual