GLXunlink(3G)GLXunlink(3G)NAME
GLXunlink - End GL rendering in an X window
SYNOPSIS
#include <gl/glws.h>
int GLXunlink(Display* xDisplay, Window xWindow)
DESCRIPTION
When GLXlink is called, a certain amount of system resources are
allocated to support GL rendering in that window. When all rendering to
that window is finished, calling GLXunlink will release those resources.
The "xWindow" argument to GLXunlink should be the GLX_NORMAL window.
Once the normal window is unlinked, any windows which were also linked to
auxiliary (i.e. popup or overlay)
GLXunlink is a signal that you never intend to do GL drawing in that
window again. If more drawing will be done soon, it will severly degrade
performance to call GLXunlink.
ERRORS
A return of 0 (GLWS_NOERROR) means that GLXunlink succeeeded. A negative
return code indicates that the Display or Window were invalid.
BUGSSEE ALSOGLXgetconfig(3G), GLXwinset(3G), GLXlink(3G)
Page 1