Function fermium::video::SDL_GL_MakeCurrent [−][src]
pub unsafe extern "C" fn SDL_GL_MakeCurrent(
window: *mut SDL_Window,
context: SDL_GLContext
) -> c_int
Make a context current and associated with the given window.
You can pass NULL to make no context be the current context.
Returns: 0 on success, negative on failure. Call [SDL_GetError
] for
more.