MCPcopy Create free account
hub / github.com/cginternals/globjects / isContextRegistered

Method isContextRegistered

source/globjects/source/registry/Registry.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool Registry::isContextRegistered(const glbinding::ContextHandle contextId)
110{
111 std::lock_guard<std::recursive_mutex> lock(g_mutex);
112
113 bool found = s_registries.find(contextId) != s_registries.end();
114
115 return found;
116}
117
118void Registry::setCurrentRegistry(const glbinding::ContextHandle contextId)
119{

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected