| 3 | |
| 4 | namespace ZEngine::Rendering::Graphics::SDLGraphic { |
| 5 | void OpenGLContext::MarkActive() { |
| 6 | |
| 7 | auto native_window = static_cast<SDL_Window*> (m_window->GetNativeWindow()); |
| 8 | if (native_window != nullptr) { |
| 9 | SDL_GL_MakeCurrent(native_window, m_native_context); |
| 10 | } |
| 11 | } |
| 12 | } |
| 13 |
no test coverage detected