From 69a679647671b262e6b3c725caa883232d87f1a9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 10 Feb 2023 06:30:48 -0800 Subject: [PATCH] Note that the coordinates in SDL_GetDisplayForPoint() and SDL_GetDisplayForRect() are screen coordinates --- include/SDL3/SDL_video.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 98ef1c0ad..5f9c4ade8 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -476,7 +476,7 @@ extern DECLSPEC const SDL_DisplayMode *SDLCALL SDL_GetDesktopDisplayMode(SDL_Dis extern DECLSPEC const SDL_DisplayMode *SDLCALL SDL_GetCurrentDisplayMode(SDL_DisplayID displayID); /** - * Get the display containing a point + * Get the display containing a point, in screen coordinates. * * \param point the point to query * \returns the instance ID of the display containing the point or 0 on @@ -490,7 +490,7 @@ extern DECLSPEC const SDL_DisplayMode *SDLCALL SDL_GetCurrentDisplayMode(SDL_Dis extern DECLSPEC SDL_DisplayID SDLCALL SDL_GetDisplayForPoint(const SDL_Point *point); /** - * Get the display primarily containing a rect + * Get the display primarily containing a rect, in screen coordinates. * * \param rect the rect to query * \returns the instance ID of the display entirely containing the rect or