浏览代码

Sync SDL2 wiki -> header

[ci skip]
SDL Wiki Bot 2 月之前
父节点
当前提交
66d87bf0e1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/SDL_video.h

+ 2 - 0
include/SDL_video.h

@@ -1008,6 +1008,8 @@ extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window,
  * \param h the height of the window in pixels, in screen coordinates, must be
  *          > 0.
  *
+ * \threadsafety This function should only be called on the main thread.
+ *
  * \since This function is available since SDL 2.0.0.
  *
  * \sa SDL_GetWindowSize