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

Method setCurrentContext

source/globjects/source/registry/Registry.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void Registry::setCurrentContext(const glbinding::ContextHandle contextId)
63{
64 if (!isContextRegistered(contextId))
65 {
66 globjects::debug() << "Requesting OpenGL context " << contextId << " but it isn't registered yet";
67 }
68
69 setCurrentRegistry(contextId);
70}
71
72bool Registry::isCurrentContext(glbinding::ContextHandle contextId)
73{

Callers

nothing calls this directly

Calls 1

debugFunction · 0.85

Tested by

no test coverage detected