Function GLContext.makeCurrent
Wraps SDL_GL_MakeCurrent
which makes a window current as the rendering target for OpenGL rendering
Parameters
Name | Description |
---|---|
window | new OpenGL dsdl2 to be set current as the rendering target for the context |
Throws
dsdl2
if failed to set the new window current