| 3 | |
| 4 | namespace ZEngine::Rendering::Graphics::GLFWGraphic { |
| 5 | void OpenGLContext::MarkActive() { |
| 6 | auto native_window = static_cast<GLFWwindow*>(m_window->GetNativeWindow()); |
| 7 | if (native_window != nullptr) { |
| 8 | glfwMakeContextCurrent(native_window); |
| 9 | } |
| 10 | } |
| 11 | } // namespace ZEngine::Rendering::Graphics::GLFWGraphic |
no test coverage detected