glXQueryExtension
returns True if the X server of connection dpy supports the GLX extension,
False otherwise. If True is returned, then errorBase and eventBase return
the error base and event base of the GLX extension. Otherwise, errorBase
and eventBase are unchanged.
errorBase and eventBase do not return values
if they are specified as NULL.