| 273 | // Hand off to the 3D X server without modification. |
| 274 | |
| 275 | void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, |
| 276 | unsigned long mask) |
| 277 | { |
| 278 | TRY(); |
| 279 | |
| 280 | if(IS_EXCLUDED(dpy)) |
| 281 | return _glXCopyContext(dpy, src, dst, mask); |
| 282 | |
| 283 | if(fconfig.egl) |
| 284 | { |
| 285 | vglout.println("[VGL] ERROR: glXCopyContext() requires the GLX back end"); |
| 286 | faker::sendGLXError(dpy, X_GLXCopyContext, BadRequest, true); |
| 287 | return; |
| 288 | } |
| 289 | _glXCopyContext(DPY3D, src, dst, mask); |
| 290 | |
| 291 | CATCH(); |
| 292 | } |
| 293 | |
| 294 | |
| 295 | // Create a GLX context on the 3D X server suitable for off-screen rendering. |
nothing calls this directly
no test coverage detected