瀏覽代碼

Note that the primary monitor isn't always at 0,0

Sam Lantinga 8 月之前
父節點
當前提交
ae8df1dcbd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_video.h

+ 1 - 1
include/SDL3/SDL_video.h

@@ -648,7 +648,7 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetDisplayName(SDL_DisplayID displa
 /**
  * Get the desktop area represented by a display.
  *
- * The primary display is always located at (0,0).
+ * The primary display is often located at (0,0), but may be placed at a different location depending on monitor layout.
  *
  * \param displayID the instance ID of the display to query.
  * \param rect the SDL_Rect structure filled in with the display bounds.