[][src]Function fermium::video::SDL_SetWindowBrightness

pub unsafe extern "C" fn SDL_SetWindowBrightness(
    window: *mut SDL_Window,
    brightness: f32
) -> c_int

Set the brightness (gamma) for the display that owns the window.

Returns: 0 on success, negative on failure. Call [SDL_GetError] for more.