| 399 | } |
| 400 | |
| 401 | void |
| 402 | OSGLContext::unsetCurrentContextNoRender() |
| 403 | { |
| 404 | #ifdef __NATRON_WIN32__ |
| 405 | OSGLContext_win::makeContextCurrent( nullptr ); |
| 406 | #elif defined(__NATRON_OSX__) |
| 407 | OSGLContext_mac::makeContextCurrent( nullptr ); |
| 408 | #elif defined(__NATRON_LINUX__) |
| 409 | if (appPTR->isOnWayland()) { |
| 410 | OSGLContext_wayland::makeContextCurrent( nullptr ); |
| 411 | } else { |
| 412 | OSGLContext_x11::makeContextCurrent( nullptr ); |
| 413 | } |
| 414 | #endif |
| 415 | } |
| 416 | |
| 417 | void |
| 418 | OSGLContext::unsetCurrentContext(const AbortableRenderInfoPtr& abortInfo) |
no test coverage detected