Function fermium::video::SDL_GL_SetAttribute[][src]

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_GetErrorMsg for more.