Function sdl2_sys::SDL_GetPointDisplayIndex

source ยท
pub unsafe extern "C" fn SDL_GetPointDisplayIndex(
    point: *const SDL_Point,
) -> c_int
Expand description

Get the index of the display containing a point

\param point the point to query \returns the index of the display containing the point or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.24.0.

\sa SDL_GetDisplayBounds \sa SDL_GetNumVideoDisplays