MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ChangeCurrentOpenGLContext

Method ChangeCurrentOpenGLContext

src/opengl_depth_packet_processor.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57};
58
59ChangeCurrentOpenGLContext::ChangeCurrentOpenGLContext(GLFWwindow *new_context)
60{
61 last_ctx = glfwGetCurrentContext();
62 glfwMakeContextCurrent(new_context);
63}
64
65ChangeCurrentOpenGLContext::~ChangeCurrentOpenGLContext()
66{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected