Function sdl2_sys::SDL_GetWindowDisplayIndex [] [src]

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

\brief Get the display index associated with a window.

\return the display index of the display containing the center of the window, or -1 on error.