MCPcopy Create free account
hub / github.com/arrayfire/forge / MakeContextCurrent

Function MakeContextCurrent

src/backend/opengl/window_impl.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108{
109
110void MakeContextCurrent(const window_impl* pWindow)
111{
112 if (pWindow != NULL) {
113 pWindow->get()->makeContextCurrent();
114 glbinding::Binding::useCurrentContext();
115 }
116}
117
118window_impl::window_impl(int pWidth, int pHeight, const char* pTitle,
119 std::weak_ptr<window_impl> pWindow, const bool invisible)

Callers 3

window_implMethod · 0.85
drawMethod · 0.85
makeCurrentMethod · 0.85

Calls 2

makeContextCurrentMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected