glXQueryVersion
returns the major and minor version numbers of the GLX extension implemented
by the server associated with connection dpy. Implementations with the same
major version number are upward compatible, meaning that the implementation
with the higher minor number is a superset of the version with the lower
minor number.
major and minor do not return values if they are specified
as NULL.