| 932 | |
| 933 | |
| 934 | const char *glXGetClientString(Display *dpy, int name) |
| 935 | { |
| 936 | TRY(); |
| 937 | |
| 938 | if(IS_EXCLUDED(dpy)) |
| 939 | return _glXGetClientString(dpy, name); |
| 940 | |
| 941 | if(name == GLX_EXTENSIONS) return getGLXExtensions(); |
| 942 | else if(name == GLX_VERSION) return "1.4"; |
| 943 | else if(name == GLX_VENDOR) |
| 944 | { |
| 945 | if(strlen(fconfig.glxvendor) > 0) return fconfig.glxvendor; |
| 946 | else return __APPNAME; |
| 947 | } |
| 948 | |
| 949 | CATCH(); |
| 950 | return NULL; |
| 951 | } |
| 952 | |
| 953 | |
| 954 | // For the specified 2D X server visual, return a property from the |
no test coverage detected