Indicates whether the GLX extension is supported.
OpenGL C bindings library: libGL.a
Bool glXQueryExtension(Display *dpy int *ErrorBase int *EventBase)
The glXQueryExtension subroutine returns True if the X server of connection dpy supports the GLX extension. Otherwise, the subroutine returns False. If True is returned, the ErrorBase and EventBase parameters also return the error base and event base of the GLX extension, respectively. If the glXQueryExtension subroutine returns False, ErrorBase and EventBase are unchanged.
ErrorBase and EventBase do not return values if they are specified as Null.
EventBase is included for future extensions. GLX does not currently define any events.
dpy | Specifies the connection to the X server. |
ErrorBase | Returns the base error code of the GLX server extension. |
EventBase | Returns the base event code of the GLX server extension. |
True | Returned if the X server of connection dpy supports the GLX extension. |
False | Returned if the X server of connection dpy does not support the GLX extension. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
The glXQueryVersion subroutine.
OpenGL in the AIXwindows (GLX) Environment.