| 191 | } |
| 192 | |
| 193 | void GraphicsDriver::MakeContextCurrent() { |
| 194 | SDL_Window* window = (SDL_Window*)Window::Instance()->GetWindowObject(); |
| 195 | SDL_GL_MakeCurrent(window, GetContext().context); |
| 196 | } |
| 197 | |
| 198 | void GraphicsDriver::SwapBuffers(const bool vsync) { |
| 199 | if (!vsync) { |
nothing calls this directly
no test coverage detected