glXQueryVersion.3gl
Digital Equipment Corporation OpenGL man pages

glXQueryVersion.3gl




Name

  glXQueryVersion - return the version numbers of the GLX extension


C Specification

  Bool glXQueryVersion(	Display	*dpy,
			int *major,
			int *minor )


Parameters


  dpy	 Specifies the connection to the X server.


  major	 Returns the major version number of the GLX server extension.


  minor	 Returns the minor version number of the GLX server extension.


Description

  glXQueryVersion returns the major and minor version numbers of the GLX
  extension available on the connection dpy. The client library and the
  server implementations must have the same major version number or else
  glXQueryVersion will return False. The minor version that is returned is
  the minimum of the two minor version numbers.

  major and minor do not return values if they are specified as NULL.


Errors

  glXQueryVersion returns False	if it fails, True otherwise.  major and	minor
  are not updated when False is	returned.


See Also

  glXQueryExtension




Introduction | Alphabetic | Specification

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