Digital Equipment Corporation OpenGL man pages



  glXQueryExtension - indicate whether the GLX extension is supported

C Specification

  Bool glXQueryExtension( Display *dpy,
			  int *errorBase,
			  int *eventBase )


  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.


  glXQueryExtension returns True if the	X server of connection dpy supports
  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.


  eventBase is included	for future extensions.	GLX does not currently define
  any events.

See Also


Introduction | Alphabetic | Specification

Last Edited: Fri Dec 6 11:18:03 EST 1996 by AFV
Look here for legal stuff: Legal