mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
wikiheaders: Add a \threadsafety
tag to document threading details.
Reference Issue #7140.
(cherry picked from commit 01cba48d18
)
This commit is contained in:
@@ -1733,6 +1733,11 @@ extern DECLSPEC int SDLCALL SDL_RenderReadPixels(SDL_Renderer * renderer,
|
||||
*
|
||||
* \since This function is available since SDL 2.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_RenderDrawLine
|
||||
* \sa SDL_RenderDrawLines
|
||||
|
Reference in New Issue
Block a user