| 57 | }; |
| 58 | |
| 59 | ChangeCurrentOpenGLContext::ChangeCurrentOpenGLContext(GLFWwindow *new_context) |
| 60 | { |
| 61 | last_ctx = glfwGetCurrentContext(); |
| 62 | glfwMakeContextCurrent(new_context); |
| 63 | } |
| 64 | |
| 65 | ChangeCurrentOpenGLContext::~ChangeCurrentOpenGLContext() |
| 66 | { |
nothing calls this directly
no outgoing calls
no test coverage detected