sdlGetPointDisplayIndex function
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
extern DECLSPEC int SDLCALL SDL_GetPointDisplayIndex(const SDL_Point * point)
Implementation
int sdlGetPointDisplayIndex(Pointer<SdlPoint> point) {
final sdlGetPointDisplayIndexLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlPoint> point),
int Function(Pointer<SdlPoint> point)>('SDL_GetPointDisplayIndex');
return sdlGetPointDisplayIndexLookupFunction(point);
}