| 233 | } |
| 234 | |
| 235 | void OpenGLWindow::Render() { |
| 236 | for (const Ref<Layers::Layer>& layer : *m_layer_stack_ptr) { |
| 237 | layer->Render(); |
| 238 | } |
| 239 | |
| 240 | glfwSwapBuffers(m_native_window); |
| 241 | } |
| 242 | |
| 243 | OpenGLWindow::~OpenGLWindow() { |
| 244 | delete m_context; |
nothing calls this directly
no outgoing calls
no test coverage detected