MirOS Manual: glXQueryVersion(3)


GLXQUERYVERSION()   UNIX Programmer's Manual    GLXQUERYVERSION()

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 implemented by the server associated
     with connection dpy. Implementations with the same major
     version number are upward compatible, meaning that the
     implementation with the higher minor number is a superset of
     the version with the lower minor number.

     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

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.