MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / unsetCurrentContextNoRender

Method unsetCurrentContextNoRender

Engine/OSGLContext.cpp:401–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401void
402OSGLContext::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
417void
418OSGLContext::unsetCurrentContext(const AbortableRenderInfoPtr& abortInfo)

Callers 1

Calls 1

isOnWaylandMethod · 0.80

Tested by

no test coverage detected