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

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

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