[][src]Function fermium::video::SDL_GetWindowDisplayIndex

pub unsafe extern "C" fn SDL_GetWindowDisplayIndex(
    window: *mut SDL_Window
) -> c_int

Gets the display index for the center of a given window.

Returns: non-negative, or negative on failure. Call SDL_GetError for more.