glXQueryVersion

王朝百科·作者佚名  2010-03-06
窄屏简体版  字體: |||超大  

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.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航