[−][src]Function fermium::video::SDL_GetDisplayBounds
pub unsafe extern "C" fn SDL_GetDisplayBounds(
displayIndex: c_int,
rect: *mut SDL_Rect
) -> c_int
Writes the bounds of a given display to the rect given.
The primary display is at (0,0).
Returns: 0 on success, negative on failure. Call [SDL_GetError
] for
more.