[][src]Function sdl2_sys::SDL_GL_GetAttribute

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

\brief Get the actual value for an attribute from the current context.

\return 0 on success, or -1 if the attribute could not be retrieved. The integer at \c value will be modified in either case.