Function fermium::video::SDL_GetDisplayBounds
source · pub unsafe extern "C" fn SDL_GetDisplayBounds(
displayIndex: c_int,
rect: *mut SDL_Rect
) -> c_int
Expand description
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_GetErrorMsg
for more.