[][src]Function sdl2_sys::SDL_GL_MakeCurrent

pub unsafe extern "C" fn SDL_GL_MakeCurrent(
    window: *mut SDL_Window,
    context: SDL_GLContext
) -> c_int

\brief Set up an OpenGL context for rendering into an OpenGL window.

\note The context must have been created with a compatible window.