Function sdl2_sys::SDL_GL_MakeCurrent
source ยท pub unsafe extern "C" fn SDL_GL_MakeCurrent(
window: *mut SDL_Window,
context: SDL_GLContext,
) -> c_int
Expand description
\brief Set up an OpenGL context for rendering into an OpenGL window.
\note The context must have been created with a compatible window.