
OpenGL Programming Guide
Appendix DThe OpenGL Extension to the X Window System
GLX Prototypes
Initialization
Determine whether the GLX extension is defined on the X server:
- Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
Bool glXQueryVersion (Display *dpy, int *major, int *minor);
Obtain the desired visual:
- XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList);
int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value);
OpenGL Programming Guide
Maintained by Maintainer: Send e-mail to .htm">name@address.