NAME

glXQueryExtension - indicate whether the GLX extension is supported

C SPECIFICATION

Bool ggllXXQQuueerryyEExxtteennssiioonn( Display _*_d_p_y,
                        int _*_e_r_r_o_r_B_a_s_e,
                        int _*_e_v_e_n_t_B_a_s_e )

delim $$

PARAMETERS

_d_p_y
Specifies the connection to the X server.
_e_r_r_o_r_B_a_s_e
Returns the base error code of the GLX server extension.
_e_v_e_n_t_B_a_s_e
Returns the base event code of the GLX server extension.

DESCRIPTION

ggllXXQQuueerryyEExxtteennssiioonn returns TTrruuee if the X server of connection _d_p_y supports the GLX extension, FFaallssee otherwise. If TTrruuee is returned, then _e_r_r_o_r_B_a_s_e and _e_v_e_n_t_B_a_s_e return the error base and event base of the GLX extension. Otherwise, _e_r_r_o_r_B_a_s_e and _e_v_e_n_t_B_a_s_e are unchanged.

_e_r_r_o_r_B_a_s_e and _e_v_e_n_t_B_a_s_e do not return values if they are specified as NNUULLLL.

NOTES

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

SEE ALSO

ggllXXQQuueerryyVVeerrssiioonn