1GLXQUERYVERSION(3G) OpenGL Manual GLXQUERYVERSION(3G)
2
3
4
6 glXQueryVersion - return the version numbers of the GLX extension
7
9 Bool glXQueryVersion(Display * dpy, int * major, int * minor);
10
12 dpy
13 Specifies the connection to the X server.
14
15 major
16 Returns the major version number of the GLX server extension.
17
18 minor
19 Returns the minor version number of the GLX server extension.
20
22 glXQueryVersion returns the major and minor version numbers of the GLX
23 extension implemented by the server associated with connection dpy.
24 Implementations with the same major version number are upward
25 compatible, meaning that the implementation with the higher minor
26 number is a superset of the version with the lower minor number.
27
28 major and minor do not return values if they are specified as NULL.
29
31 glXQueryVersion returns False if it fails, True otherwise.
32
33 major and minor are not updated when False is returned.
34
36 glXQueryExtension()
37
39 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
40 under the SGI Free Software B License. For details, see
41 http://oss.sgi.com/projects/FreeB/.
42
44 opengl.org
45
46
47
48opengl.org 07/13/2018 GLXQUERYVERSION(3G)