| 60 | } |
| 61 | |
| 62 | void 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 | |
| 72 | bool Registry::isCurrentContext(glbinding::ContextHandle contextId) |
| 73 | { |