glXQueryExtension()glXQueryExtension()NAMEglXQueryExtension - indicate whether the GLX extension is supported
SYNOPSIS
Bool glXQueryExtension(
Display *dpy,
int *errorBase,
int *eventBase );
PARAMETERS
Specifies the connection to the X server. Returns the base error code
of the GLX server extension. Returns the base event code of the GLX
server extension.
DESCRIPTIONglXQueryExtension() returns True if the X server of connection dpy sup‐
ports 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.
NOTES
eventBase is included for future extensions. GLX does not currently
define any events.
SEE ALSOglXQueryVersion()glXQueryExtension()