Get the index of the display containing a point
int SDL_GetPointDisplayIndex(const SDL_Point * point);
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.
This function is available since SDL 2.24.0.