Function fermium::video::SDL_GL_GetAttribute[][src]

pub unsafe extern "C" fn SDL_GL_GetAttribute(
    attr: SDL_GLattr,
    value: *mut c_int
) -> c_int

Gets a GL attribute’s value (to the pointer given).

Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg for more.