Returns a list of all GLX FBConfigs for a specified screen.
OpenGL C bindings library: libGL.a
GLXFBConfig *glXGetFBConfigs(Display *dpy
int screen
int *nelements)
The glXGetFBConfigs subroutine returns a list of all GLX FBConfigs that are available for a specified screen. The items in the list can be used in any GLX subroutine that requires a GLX FBConfig. If an error occurs, then a NULL value will be returned.
GLXNoExtension | dpy does not support the GLX extension. |
GLXBadScreen | The screen parameter does not correspond to a valid screen. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
/usr/include/GL/glx.h | Contains C language constants, variable type definitions, and ANSI function prototypes for GLX. |
The glXChooseFBConfig subroutine and the glXGetFBConfigAttrib subroutine.
OpenGL in the AIXwindows (GLX) Environment.