NAME

glXQueryVersion - return the version numbers of the GLX extension

C SPECIFICATION

Bool ggllXXQQuueerryyVVeerrssiioonn( Display _*_d_p_y,
                      int _*_m_a_j_o_r,
                      int _*_m_i_n_o_r )

delim $$

PARAMETERS

_d_p_y
Specifies the connection to the X server.
_m_a_j_o_r
Returns the major version number of the GLX server extension.
_m_i_n_o_r
Returns the minor version number of the GLX server extension.

DESCRIPTION

ggllXXQQuueerryyVVeerrssiioonn returns the major and minor version numbers of the GLX extension implemented by the server associated with connection _d_p_y. 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.

_m_a_j_o_r and _m_i_n_o_r do not return values if they are specified as NNUULLLL.

ERRORS

ggllXXQQuueerryyVVeerrssiioonn returns FFaallssee if it fails, TTrruuee otherwise.

_m_a_j_o_r and _m_i_n_o_r are not updated when FFaallssee is returned.

SEE ALSO

ggllXXQQuueerryyEExxtteennssiioonn