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

\brief Set the brightness (gamma correction) for a window.

\return 0 on success, or -1 if setting the brightness isn’t supported.

\sa SDL_GetWindowBrightness() \sa SDL_SetWindowGammaRamp()