Function fermium::video::SDL_GL_MakeCurrent
source · pub unsafe extern "C" fn SDL_GL_MakeCurrent(
window: *mut SDL_Window,
context: SDL_GLContext
) -> c_int
Expand description
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_GetErrorMsg
for more.