[−][src]Function sdl2_sys::SDL_SetWindowBrightness
pub unsafe extern "C" fn SDL_SetWindowBrightness(
window: *mut SDL_Window,
brightness: f32
) -> c_int
\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()