int make_current(window& w) const { return SDL_GL_MakeCurrent(w.data(), gl_context); }
explicit context(window& w) noexcept: gl_context(SDL_GL_CreateContext(w.data())) {}