Returns the version numbers of the GLX extension.
OpenGL C bindings library: libGL.a
Bool glXQueryVersion(Display *dpy int *Major int *Minor)
The glXQueryVersion subroutine returns the major and minor version numbers of the GLX extension that is implemented by the server associated with the dpy connection. Implementations with the same major version number are upwardly compatible, meaning that the implementation with the higher minor version number is a superset of the version with the lower minor version number.
The Major and Minor parameters do not return values if they are specified as Null.
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. |
True | Returned if the subroutine is successful. |
False | Returned if the subroutine fails. If False is returned, Major and Minor parameter values are not updated. |
The glXQueryExtension subroutine.
OpenGL in the AIXwindows (GLX) Environment.