GLXlink(3G)GLXlink(3G)NAMEGLXlink - Configure X window for GL rendering
SYNOPSIS
#include <gl/glws.h>
int GLXlink(xDisplay, conf)
Display* xDisplay;
GLXconfig* conf;
DESCRIPTION
Call GLXlink to inform the GL that you intend to render GL into an X
window. The "conf" argument should be the same argument which was
returned from GLXgetconfig. The entries with "mode" of GLX_WINDOW in the
"conf" array must have the value field set to the X window id's of the
windows which were created.
ERRORS
A return of 0 (GLWS_NOERROR) means that GLXlink succeeeded. A negative
return code indicates that the Display or Window fields were invalid.
BUGSSEE ALSOGLXgetconfig(3G), GLXwinset(3G), GLXunlink(3G)
Page 1