[−][src]Function fermium::video::SDL_SetWindowGammaRamp
pub unsafe extern "C" fn SDL_SetWindowGammaRamp(
window: *mut SDL_Window,
red: *const u16,
green: *const u16,
blue: *const u16
) -> c_int
Sets a gamma ramp for the window.
Each pointer should be a pointer to a 256-element translation table, or null.
Returns: 0 on success, negative on failure. Call SDL_GetError
for
more.