MCPcopy Create free account
hub / github.com/DISTRHO/DPF / reinit

Method reinit

dgl/src/Window.cpp:74–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void Window::ScopedGraphicsContext::reinit()
75{
76 DISTRHO_SAFE_ASSERT_RETURN(!active,);
77 DISTRHO_SAFE_ASSERT_RETURN(!reenter,);
78 DISTRHO_SAFE_ASSERT_RETURN(ppData != nullptr,);
79
80 reenter = true;
81 puglBackendLeave(ppData->view);
82 active = puglBackendEnter(window.pData->view);
83}
84
85// -----------------------------------------------------------------------
86// Window

Callers 1

reinitFunction · 0.80

Calls 2

puglBackendLeaveFunction · 0.85
puglBackendEnterFunction · 0.85

Tested by

no test coverage detected