Function sdl2_sys::SDL_GetWindowDisplayIndex
source · [−]pub unsafe extern "C" fn SDL_GetWindowDisplayIndex(
window: *mut SDL_Window
) -> c_int
Expand description
\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.