Function fermium::video::SDL_GL_LoadLibrary
source · pub unsafe extern "C" fn SDL_GL_LoadLibrary(
path: *const c_char
) -> c_int
Expand description
Load a GL library using the file path given.
Use this after initializing the video driver, before opening any GL using windows.
You can also skip using this function and the default GL library will be loaded when a GL window is created.
Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg
for more.