1GLXQUERYEXTENSION(3G) OpenGL Manual GLXQUERYEXTENSION(3G)
2
3
4
6 glXQueryExtension - indicate whether the GLX extension is supported
7
9 Bool glXQueryExtension(Display * dpy, int * errorBase,
10 int * eventBase);
11
13 dpy
14 Specifies the connection to the X server.
15
16 errorBase
17 Returns the base error code of the GLX server extension.
18
19 eventBase
20 Returns the base event code of the GLX server extension.
21
23 glXQueryExtension returns True if the X server of connection dpy
24 supports the GLX extension, False otherwise. If True is returned, then
25 errorBase and eventBase return the error base and event base of the GLX
26 extension. These values should be added to the constant error and event
27 values to determine the actual event or error values. Otherwise,
28 errorBase and eventBase are unchanged.
29
30 errorBase and eventBase do not return values if they are specified as
31 NULL.
32
34 glXQueryVersion()
35
37 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
38 under the SGI Free Software B License. For details, see
39 http://oss.sgi.com/projects/FreeB/.
40
42 opengl.org
43
44
45
46opengl.org 07/13/2018 GLXQUERYEXTENSION(3G)