Pārlūkot izejas kodu

Sync SDL2 wiki -> header

[ci skip]
SDL Wiki Bot 2 mēneši atpakaļ
vecāks
revīzija
66d87bf0e1
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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