mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
wikiheaders: Add a \threadsafety
tag to document threading details.
Reference Issue #7140.
This commit is contained in:
parent
73dc327c84
commit
01cba48d18
2 changed files with 43 additions and 0 deletions
|
@ -1396,6 +1396,11 @@ extern DECLSPEC int SDLCALL SDL_RenderReadPixels(SDL_Renderer *renderer,
|
|||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
* \threadsafety You may only call this function on the main thread. If
|
||||
* this happens to work on a background thread on any given
|
||||
* platform or backend, it's purely by luck and you should
|
||||
* not rely on it to work next time.
|
||||
*
|
||||
* \sa SDL_RenderClear
|
||||
* \sa SDL_RenderLine
|
||||
* \sa SDL_RenderLines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue