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

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

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