| 2079 | // Hand off to the 3D X server without modification. |
| 2080 | |
| 2081 | Bool glXQueryExtension(Display *dpy, int *error_base, int *event_base) |
| 2082 | { |
| 2083 | TRY(); |
| 2084 | |
| 2085 | if(IS_EXCLUDED(dpy)) |
| 2086 | return _glXQueryExtension(dpy, error_base, event_base); |
| 2087 | |
| 2088 | int majorOpcode, eventBase, errorBase; |
| 2089 | Bool retval = backend::queryExtension(dpy, &majorOpcode, &eventBase, |
| 2090 | &errorBase); |
| 2091 | if(error_base) *error_base = errorBase; |
| 2092 | if(event_base) *event_base = eventBase; |
| 2093 | return retval; |
| 2094 | |
| 2095 | CATCH(); |
| 2096 | return False; |
| 2097 | } |
| 2098 | |
| 2099 | |
| 2100 | // Same as glXGetClientString(GLX_EXTENSIONS) |
no test coverage detected