MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / ~OpenGLWindow

Method ~OpenGLWindow

ZEngine/src/GlfwWindow/OpenGLWindow.cpp:243–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected