Returns string describing the server
C bindings library: libGL.a
const char *glXQueryServerString(Display *dpy, int screen, int name)
dpy | Specifies the connection to the X server. |
screen | Specifies the screen number. |
name | Specifies which string is returned. One of GLX_VENDOR, GLX_VERSION, or GLX_EXTENSIONS. |
The glXQueryServerString subroutine is available only if the GLX version is 1.1 or greater.
If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, the GL version must be 1.1.
The glXQueryServerString subroutine only returns information about GLX extensions supported by the server. Call glGetString to get a list of GL extensions. Call glXGetClientString to get a list of GLX extensions supported by the client.
The glXQueryVersion subroutine, glXGetClientString subroutine, glXQueryExtensionsString subroutine.