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