Function sdl2_sys::SDL_GL_CreateContext
source ยท pub unsafe extern "C" fn SDL_GL_CreateContext(
window: *mut SDL_Window,
) -> SDL_GLContext
Expand description
\brief Create an OpenGL context for use with an OpenGL window, and make it current.
\sa SDL_GL_DeleteContext()