G
glXGetConfig
Chapter 7
190
Notes
XVisualInfo is defined in Xutil.h. It is a structure that includes visual, visualID, screen,
and depth elements.
Errors
• GLX_NO_EXTENSION is returned if dpy does not support the GLX extension.
• GLX_BAD_SCREEN is returned if the screen of vis does not correspond to a screen.
• GLX_BAD_ATTRIBUTE is returned if attrib is not a valid GLX attribute.
• GLX_BAD_VISUAL is returned if vis doesn’t support GLX and an attribute other
than GLX_USE_GL is requested.
See Also
glXChooseVisual,
glXCreateContext