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

Method done

dgl/src/Window.cpp:57–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void Window::ScopedGraphicsContext::done()
58{
59 if (active)
60 {
61 puglBackendLeave(window.pData->view);
62 active = false;
63 }
64
65 if (reenter)
66 {
67 reenter = false;
68 DISTRHO_SAFE_ASSERT_RETURN(ppData != nullptr,);
69
70 puglBackendEnter(ppData->view);
71 }
72}
73
74void Window::ScopedGraphicsContext::reinit()
75{

Callers 1

doneFunction · 0.80

Calls 2

puglBackendLeaveFunction · 0.85
puglBackendEnterFunction · 0.85

Tested by

no test coverage detected