Function fermium::video::SDL_GL_SetAttribute
source · pub unsafe extern "C" fn SDL_GL_SetAttribute(
attr: SDL_GLattr,
value: c_int
) -> c_int
Expand description
Sets a GL attribute to the given value.
Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg
for more.