glXQueryVersion - return the version numbers of the GLX extension
Bool glXQueryVersion( Display *dpy, int *major, int *minor )
dpy Specifies the connection to the X server. major Returns the major version number of the GLX server extension. minor Returns the minor version number of the GLX server extension.
glXQueryVersion returns the major and minor version numbers of the GLX extension available on the connection dpy. The client library and the server implementations must have the same major version number or else glXQueryVersion will return False. The minor version that is returned is the minimum of the two minor version numbers. major and minor do not return values if they are specified as NULL.
glXQueryVersion returns False if it fails, True otherwise. major and minor are not updated when False is returned.
glXQueryExtension
Introduction | Alphabetic | Specification
Last Edited: Thu Mar 16, 1995