[−][src]Function fermium::video::SDL_GL_SetAttribute
pub unsafe extern "C" fn SDL_GL_SetAttribute(
attr: SDL_GLattr,
value: c_int
) -> c_int
Sets a GL attribute to the given value.
Returns: 0 on success, negative on failure. Call [SDL_GetError
] for
more.