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

Function registerCurrentContext

source/globjects/source/globjects.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void registerCurrentContext()
138{
139 glbinding::ContextHandle contextId = glbinding::getCurrentContext();
140
141 glbinding::Binding::useContext(contextId);
142 Registry::registerContext(contextId);
143}
144
145void registerCurrentContext(const glbinding::ContextHandle sharedContextId)
146{

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected