| 241 | } |
| 242 | |
| 243 | OpenGLWindow::~OpenGLWindow() { |
| 244 | delete m_context; |
| 245 | |
| 246 | glfwSetErrorCallback(NULL); |
| 247 | glfwDestroyWindow(m_native_window); |
| 248 | glfwTerminate(); |
| 249 | } |
| 250 | |
| 251 | bool OpenGLWindow::OnWindowClosed(WindowClosedEvent& event) { |
| 252 | glfwSetWindowShouldClose(m_native_window, GLFW_TRUE); |
nothing calls this directly
no outgoing calls
no test coverage detected